mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-06-20 13:15:33 +00:00
7 lines
203 B
Fish
7 lines
203 B
Fish
function back -d 'A shortcut for backgrounding a command using nohup and named log file'
|
|
set log_name (string join _ $argv)
|
|
|
|
echo "log file: $log_name.out"
|
|
nohup $argv >"$log_name.out" &
|
|
end
|