Add open function

This commit is contained in:
Mathis 2020-03-23 12:00:20 +01:00
parent d40acd2516
commit 4ebff671a2
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,11 @@
alias mkdir='mkdir -p' alias mkdir='mkdir -p'
alias cat='bat' alias cat='bat'
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
alias doco='docker-compose' alias doco='docker-compose'
alias clear='[ $[$RANDOM % 10] = 0 ] && sl; clear || clear'
alias update='sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade' alias update='sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade'
open () {
xdg-open "$@" &>/dev/null
}