67 lines
1,019 B
Text
67 lines
1,019 B
Text
|
dolphin()
|
||
|
{
|
||
|
/home/nilix/src/myUtils/swarpabuse.sh 360 &
|
||
|
dolphin-emu;
|
||
|
killall swarpabuse.sh
|
||
|
}
|
||
|
|
||
|
indicator()
|
||
|
{
|
||
|
if [ $(whoami) != root ]; then
|
||
|
echo "%"
|
||
|
else echo "#"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
silence()
|
||
|
{
|
||
|
"$@" > /dev/null & exit
|
||
|
}
|
||
|
|
||
|
search()
|
||
|
{
|
||
|
firefox https://duckduckgo.com/?q="$*" > /dev/null & exit
|
||
|
}
|
||
|
|
||
|
acmeInit()
|
||
|
{
|
||
|
tabstop=2
|
||
|
acme -ab & sleep 0.2;
|
||
|
transset -n acme --no-regex 0.85;
|
||
|
exit
|
||
|
}
|
||
|
|
||
|
9man()
|
||
|
{
|
||
|
man -c "$@" | ul
|
||
|
}
|
||
|
|
||
|
alias web='silence firefox'
|
||
|
alias mail='silence thunderbird'
|
||
|
alias fs='silence thunar'
|
||
|
alias office='silence libreoffice'
|
||
|
alias acme='acmeInit'
|
||
|
alias man='9man'
|
||
|
|
||
|
alias ls='ls -lh --group-directories-first'
|
||
|
|
||
|
if [ -d ~/bin ]; then
|
||
|
PATH=~/bin:${PATH}
|
||
|
for x in ~/bin/*; do
|
||
|
if [ -d $x ]; then
|
||
|
PATH=${x}:${PATH}
|
||
|
fi
|
||
|
done
|
||
|
fi
|
||
|
|
||
|
export GTK_THEME=steppenwolf-dark
|
||
|
export GPG_TTY=$(tty)
|
||
|
VISUAL=nano
|
||
|
EDITOR=nano
|
||
|
if [ "$TERM" = "dumb" ]; then
|
||
|
PS1='$(indicator) '
|
||
|
else
|
||
|
PS1='\033]0;$(whoami)@$(hostname): ${PWD}\007[ $(hostname): ${PWD} ]\n$(indicator) '
|
||
|
fi
|
||
|
bind -m '^L'='^C'clear'^J'
|