3 ms·
I dislike pretty much the entire Windows command line, except for one small bit of it: `start` (for the purpose of launching stuff in the background and disowni
by btschaegg 8y ago
I dislike pretty much the entire Windows command line, except for one small bit of it: `start` (for the purpose of launching stuff in the background and disowning it, not for the `xdg-open`-like functionality).
So, I had this in my rc files for a while:
start() { nohup "$@" &> /dev/null &; }
After that, I replaced the function with the custom command from here: http://web.archive.org/web/20151221072546/https://felixmilea.com/2014/12/running-bash-commands-background-properly/ http://web.archive.org/web/20151221072546/https://felixmilea...
I'd still like to have auto completion for this, though, but I never got around to learning about the ways to achieve that in bash and zsh.
Edit: Also, the one I probably use the most:
alias l="ls -ltrash"
although I've started to replace it with
e() { exa -bghHliSa --color=always "$@" | bat; }
et() { exa -bghHliSTa --color=always "$@" | bat; }