Add bash.d. #7
@@ -25,9 +25,16 @@ else
|
||||
alias ,plasmashell='plasmashell --replace &> /dev/null &'
|
||||
alias ,swap='sudo swapoff -a && sudo swapon -a'
|
||||
alias ,vbox="ps aux www |grep 'VBoxClient --draganddrop' | awk '{print $2}' | xargs kill"
|
||||
alias ,assistant="nohup $HOME/Qt/6.9.0/gcc_64/bin/assistant > /dev/null 2>&1 &"
|
||||
fi
|
||||
|
||||
# $1: Version
|
||||
# $2: Path to Qt; defaults to $HOME/Qt
|
||||
function assistant {
|
||||
local version=${1:-6\.7\.3}
|
||||
local path=${2:-$HOME/Qt}
|
||||
nohup ${path%/}/$version/gcc_64/bin/assistant > /dev/null 2>&1 &
|
||||
}
|
||||
|
||||
# colored GCC warnings and errors
|
||||
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user