mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-25 20:47:45 +01:00
zsh/alias: moved alias to alias config
This commit is contained in:
parent
69a8831b5d
commit
1b6be396a6
@ -1,5 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# starting commands in background
|
||||
background() { for ((i=2;i<=$#;i++)); do; ${@[1]} ${@[$i]} &> /dev/null &| ; done }
|
||||
|
||||
# bash
|
||||
alias ":wq"="exit"
|
||||
alias ":q"="exit"
|
||||
|
@ -127,13 +127,6 @@ local paste_widgets=(
|
||||
x11-clip-wrap-widgets copy $copy_widgets
|
||||
x11-clip-wrap-widgets paste $paste_widgets
|
||||
|
||||
# starts one or multiple args in background
|
||||
background() {
|
||||
for ((i=2;i<=$#;i++)); do
|
||||
${@[1]} ${@[$i]} &> /dev/null &|
|
||||
done
|
||||
}
|
||||
|
||||
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" # Load aliases
|
||||
|
||||
autoload -Uz compinit && compinit
|
||||
|
Loading…
x
Reference in New Issue
Block a user