diff --git a/.bin/aurpac b/.bin/aurpac index bc996ad..a802544 100755 --- a/.bin/aurpac +++ b/.bin/aurpac @@ -1,2 +1,3 @@ -#!/bin/bash +#!/usr/bin/env bash + git clone "https://aur.archlinux.org/$1.git" diff --git a/.bin/brave-launcher b/.bin/brave-launcher index 6931abc..b91bfd1 100755 --- a/.bin/brave-launcher +++ b/.bin/brave-launcher @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" BRAVE_USER_FLAGS_FILE="$XDG_CONFIG_HOME/brave-flags.conf" diff --git a/.bin/save-vimwiki b/.bin/save-vimwiki index fa5af86..8fea0f5 100755 --- a/.bin/save-vimwiki +++ b/.bin/save-vimwiki @@ -1,4 +1,5 @@ #!/usr/bin/env bash + cd $HOME/.vimwiki git a $HOME/.vimwiki git cm 'Update' diff --git a/.bin/tidalcycles b/.bin/tidalcycles index ca0ca51..7db6d3d 100755 --- a/.bin/tidalcycles +++ b/.bin/tidalcycles @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + set -euf -o pipefail VIM=${VIM:-"vim"} diff --git a/.bin/whoamip b/.bin/whoamip index a34d0a6..fb5f4be 100755 --- a/.bin/whoamip +++ b/.bin/whoamip @@ -1,2 +1,3 @@ #!/usr/bin/env bash + ip addr show wlan0 | awk '/inet / {gsub(/\/.*/,"",$2); print $2}'