Add list of programs that should fork by default

This commit is contained in:
crater2150 2020-03-11 15:36:53 +01:00
parent c3d8306825
commit 7eadc39b28
2 changed files with 12 additions and 1 deletions

10
aliases/fork_by_default Executable file
View file

@ -0,0 +1,10 @@
#!/bin/zsh
local forkprogs=(
geeqie
feh
)
for i in $forkprogs; do
alias $i="fork $i"
done

View file

@ -31,8 +31,9 @@ alias v="xdg-open"
alias vmemcache="vmtouch -l -m 12G -v"
fork() {
( $* &>/dev/null & )
"$@" &>/dev/null &|
}
alias en="dict.cc.py de en"