update kshrc
This commit is contained in:
parent
a0bc235870
commit
66a8a1c7fb
1 changed files with 5 additions and 21 deletions
26
kshrc
26
kshrc
|
@ -7,16 +7,6 @@ indicator()
|
|||
fi
|
||||
}
|
||||
|
||||
silence()
|
||||
{
|
||||
"$@" > /dev/null & exit
|
||||
}
|
||||
|
||||
search()
|
||||
{
|
||||
$BROWSER https://duckduckgo.com/?q="$*" > /dev/null & exit
|
||||
}
|
||||
|
||||
sshmount()
|
||||
{
|
||||
sshfs $1 $2
|
||||
|
@ -73,7 +63,7 @@ cuegen()
|
|||
|
||||
mssqldb()
|
||||
{
|
||||
if [ -z $1 ]; then
|
||||
if [ -z "$1" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
|
@ -158,14 +148,6 @@ microCmd()
|
|||
fi
|
||||
}
|
||||
|
||||
defaultsesh(){
|
||||
echo $1 > ~/.xsesh
|
||||
}
|
||||
|
||||
reloadkwin(){
|
||||
kwin_x11 --replace --no-kactivities &
|
||||
}
|
||||
|
||||
findprinters(){
|
||||
sudo lpinfo -l -v | grep ':/' -A 5
|
||||
}
|
||||
|
@ -197,7 +179,7 @@ mode(){
|
|||
esac
|
||||
nitrogen --restore
|
||||
if pgrep ryudo; then
|
||||
killall xclock; xclock -strftime "%Y-%m-%d %H:%M" -geometry -0-0 &
|
||||
killall xneralie; ~/src/xneralie/launch.sh &
|
||||
fi
|
||||
if [ ${hasPanel} -eq 1 ]; then
|
||||
tint2 &
|
||||
|
@ -242,6 +224,7 @@ dreadlock() {
|
|||
$cmd "$@" | nobs
|
||||
}
|
||||
|
||||
|
||||
export WINIT_X11_SCALE_FACTOR=1
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export GPG_TTY=$(tty)
|
||||
|
@ -256,6 +239,7 @@ export ZEIT_DB=~/.zeit/db
|
|||
export DOTNET_ROOT=${HOME}/bin/dotnet
|
||||
export SIGNID=90587A740FA4FFA0971575383B7FBC22144E6398
|
||||
export ENCRID=F5672E001CC962BE3B6C8887C65B677280C66DE5
|
||||
export MBOX_ROOT=/home/nilix/lib/mail/zoho
|
||||
if [ "$TERM" = "dumb" ]; then
|
||||
PS1='$(indicator) '
|
||||
export PINENTRY_USER_DATA=tty
|
||||
|
@ -282,7 +266,7 @@ alias zoom='flatpak --env=XDG_DOCUMENTS_DIR=/home/nilix/lib/doc --filesystem=hos
|
|||
alias teams='flatpak --device=all --filesystem=host run com.microsoft.Teams'
|
||||
alias micro='microCmd'
|
||||
alias startx='exec startx'
|
||||
alias mutt='echo -ne "\033]0;neomutt\007"; neomutt'
|
||||
# alias mutt='echo -ne "\033]0;neomutt\007"; neomutt'
|
||||
# alias mpv='mpv --player-operation-mode=pseudo-gui --term-osd=force --cover-art-files=/home/nilix/lib/img/ux/sound_only.png'
|
||||
alias ls='ls -lh --group-directories-first'
|
||||
alias nasu='uxnemu ~/src/nasu/bin/nasu.rom'
|
||||
|
|
Loading…
Reference in a new issue