diff --git a/shells/shared/aliases b/shells/shared/aliases index b58c837e..d6cf1756 100644 --- a/shells/shared/aliases +++ b/shells/shared/aliases @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + ########################## # Add flags by default # ########################## @@ -124,7 +126,7 @@ type mycli > /dev/null && alias mysql="echo \"You might want to use mycli instea type pgcli > /dev/null && alias postgres="echo \"You might want to use pgcli instead\"; /usr/bin/postgres" # These are the gnu coreutils mv and cp with a progress bar patched in -type mvg > /dev/null && alias mv="mvg --progress-bar" +type mvg > /dev/null && alias mv="mvg -g" type cpg > /dev/null && alias cp="cpg --progress-bar" ################### @@ -166,6 +168,8 @@ alias rnc="resize-netcat-listener -r $HOME/go/src/resize-nc-listener/examples/st alias wingcc='x86_64-w64-mingw32-gcc' +alias r="fzf-remind" + ################ # Pentesting # ################ diff --git a/shells/shared/environmentVariables b/shells/shared/environmentVariables index 9cca393c..2273a0dc 100644 --- a/shells/shared/environmentVariables +++ b/shells/shared/environmentVariables @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + export LANG="en_GB.UTF-8" export TERMINAL=/usr/local/bin/st export TERM=xterm-256color @@ -16,7 +18,7 @@ for d in "$HOME"/.bin/*/; do mypath+=":$d" done -export PATH=~/Projects/current/bin:$mypath:$GOPATH/bin:$PATH:. +export PATH=~/Projects/current/bin:$mypath:$GOPATH/bin:$HOME/.local/share/bin:$PATH:. #Ruby things GEM_HOME=$(ls -t -U | ruby -e 'puts Gem.user_dir') diff --git a/shells/shared/functions b/shells/shared/functions index e3f23eac..1e7225c9 100644 --- a/shells/shared/functions +++ b/shells/shared/functions @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + # make xclip work as I would expect. Copy to clipboard if piped data. Paste from otherwise function clip(){ if type -p /usr/bin/xclip >/dev/null; then