Skip to content

Instantly share code, notes, and snippets.

@jsafrit
Last active August 29, 2015 14:12
Show Gist options
  • Select an option

  • Save jsafrit/142c18bf14ee81abf057 to your computer and use it in GitHub Desktop.

Select an option

Save jsafrit/142c18bf14ee81abf057 to your computer and use it in GitHub Desktop.
Custom bash alias file
# some more ls aliases
alias ll='ls -alF'
alias more='less'
alias la='ls -A'
alias l='ls -CF'
alias h="history"
alias gno="gnome-open"
alias pu="pushd"
alias po="popd"
alias updateme='sudo apt-get update && sudo apt-get upgrade'
# git aliases
alias g="git "
alias gs="git status "
alias gh="git hist "
alias ga="git add "
alias gg="gitg "
function screen-ls {
screen -ls
if [[ $STY ]]; then
echo -e "\033[1mCurrently in screen $STY\033[0m"
# echo -e '\E[37;44m'"\033[1mCurrently in screen $STY\033[0m"
# else
# echo "Not currently in a screen."
fi
}
function ws { if [[ $STY ]]; then echo "On screen: $STY"; fi; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment