1
0
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:
TiynGER
2020-05-04 10:53:44 +02:00
parent 96b8fd6911
commit b9b08a77ea
9 changed files with 15 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/bin/bash
# copying tex templates
[ -z "$2" ] && echo "missing argument: filename (no ending)" && return 1

View File

@@ -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; }