Skip to content

Instantly share code, notes, and snippets.

@andre-hartmann
Last active February 28, 2020 08:01
Show Gist options
  • Save andre-hartmann/33e0ac4c304a024b60300288e5ab8688 to your computer and use it in GitHub Desktop.
Save andre-hartmann/33e0ac4c304a024b60300288e5ab8688 to your computer and use it in GitHub Desktop.
PATH=~/bin:${PATH}
md() { mkdir $1 && cd $1; }
cd() { builtin cd $1 && ls; }
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias gh='cd ~'
alias gdown='cd ~/Downloads'
alias ggit='cd ~/git'
alias gsrc='cd ~/src'
alias gpic='cd ~/Bilder'
alias subdirs='tree -L 1 -d --noreport'
alias subsubdirs='tree -L 2 -d --noreport'
alias dfree="df -h | grep -v tmpfs | grep -v loop | grep -v udev"
alias dused="du --max-depth=1 -h"
alias :q='exit'
alias show='eog'
alias pdf='evince'
eval "$(thefuck --alias)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment