zsh/alias: moved alias to alias config

master
tiyn 10 months ago
parent 69a8831b5d
commit 1b6be396a6

@ -1,5 +1,8 @@
#!/bin/sh #!/bin/sh
# starting commands in background
background() { for ((i=2;i<=$#;i++)); do; ${@[1]} ${@[$i]} &> /dev/null &| ; done }
# bash # bash
alias ":wq"="exit" alias ":wq"="exit"
alias ":q"="exit" alias ":q"="exit"

@ -127,13 +127,6 @@ local paste_widgets=(
x11-clip-wrap-widgets copy $copy_widgets x11-clip-wrap-widgets copy $copy_widgets
x11-clip-wrap-widgets paste $paste_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 [ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" # Load aliases
autoload -Uz compinit && compinit autoload -Uz compinit && compinit

Loading…
Cancel
Save