Add open function
This commit is contained in:
parent
d40acd2516
commit
4ebff671a2
7
.aliases
7
.aliases
|
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue