SH: adds bash shebang to shared dotfiles for syntax highlighting

master
Jonathan Hodgson 4 years ago
parent 741dc650df
commit e95aef3c0d
  1. 6
      shells/shared/aliases
  2. 4
      shells/shared/environmentVariables
  3. 2
      shells/shared/functions

@ -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 #
################

@ -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')

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

Loading…
Cancel
Save