mirror of
https://github.com/notwa/rc
synced 2024-11-05 08:19:03 -08:00
add global alias to SWAP
stdout and stderr
This commit is contained in:
parent
e4120c283e
commit
6b945219e1
1 changed files with 1 additions and 0 deletions
|
@ -211,6 +211,7 @@ fi
|
||||||
|
|
||||||
alias -g OMFG="1>/dev/null" ### @ OMFG - silence stdout.
|
alias -g OMFG="1>/dev/null" ### @ OMFG - silence stdout.
|
||||||
alias -g STFU="2>/dev/null" ### @ STFU - silence stderr.
|
alias -g STFU="2>/dev/null" ### @ STFU - silence stderr.
|
||||||
|
alias -g SWAP="3>&1 1>&2 2>&3" ### @ SWAP - swap stdout and stderr. uses fd 3 as an intermediary.
|
||||||
alias -g WHOA='${whoa[@]}' ### @ WHOA - expand to several C/C++ flags to ease development.
|
alias -g WHOA='${whoa[@]}' ### @ WHOA - expand to several C/C++ flags to ease development.
|
||||||
alias -g WHEE='${whee[@]}' ### @ WHEE - WHOA but for C++ (specifically g++) only.
|
alias -g WHEE='${whee[@]}' ### @ WHEE - WHOA but for C++ (specifically g++) only.
|
||||||
alias -g WELP='${welp[@]}' ### @ WELP - expand to C++ flags to enable a C++-as-C facade.
|
alias -g WELP='${welp[@]}' ### @ WELP - expand to C++ flags to enable a C++-as-C facade.
|
||||||
|
|
Loading…
Reference in a new issue