Skip to content

Instantly share code, notes, and snippets.

@markarasev
Last active August 3, 2020 22:15
Show Gist options
  • Select an option

  • Save markarasev/3b5e1f69fb76147094de0a05178d189a to your computer and use it in GitHub Desktop.

Select an option

Save markarasev/3b5e1f69fb76147094de0a05178d189a to your computer and use it in GitHub Desktop.
alias ls='ls -GFh'
alias ll='ls -l'
docker() {
if [[ $@ == "pls" ]]; then
command docker stop $(docker ps -q)
else
command docker "$@"
fi
}
git() {
if [[ $1 == "git" ]]; then
shift
command git "$@"
else
command git "$@"
fi
}
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
source ~/.git-completion.bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment