mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-09 19:11:15 +02:00
changing scripts slightly
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
#!/bin/bash
|
||||
# copying tex templates
|
||||
|
||||
[ -z "$2" ] && echo "missing argument: filename (no ending)" && return 1
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
active=$(nmcli connection show --active | grep vpn | cut -d' ' -f1)
|
||||
[[ ! -z "$active" ]] && { prompt "disconnect from $active?" || exit 1; }
|
||||
|
Reference in New Issue
Block a user