diff options
Diffstat (limited to 'Shell')
-rw-r--r-- | Shell/bash_aliases | 8 | ||||
-rw-r--r-- | Shell/zshrc | 29 |
2 files changed, 31 insertions, 6 deletions
diff --git a/Shell/bash_aliases b/Shell/bash_aliases index 80ca10d..d9612b7 100644 --- a/Shell/bash_aliases +++ b/Shell/bash_aliases @@ -1,6 +1,9 @@ #if you wanna change timezone just copy one of /usr/share/zoneinfo/place to /etc/localtime # awesome perl echo 'one two three'| perl -lne 'print $2 if /one(.*)three/' +# mpv +alias mpvl='mpv --ytdl-format=43' + #Micrcontroller alias serial='micronucleus --run ~/Sync/Programming/serial.hex' @@ -19,6 +22,9 @@ alias chemistry='vim ~/Sync/Notes/Chemistry/chemistry.txt' alias english='vim ~/Sync/Notes/English/english.txt' alias swedish='vim ~/Sync/Notes/Swedish/swedish.txt' +#quiet +alias quiet='sudo hdparm -y /dev/sda' + #zombify alias zombify='sudo -u dork /home/vasko/dorknet/dork zombify' @@ -130,7 +136,7 @@ alias cfgpanel=' fgpanel --fg-root=/usr/share/games/flightgear --panel=Aircraft/ alias cfgfs='optirun fgfs --generic=socket,out,20,127.0.0.1,34200,udp,../Aircraft/c172p/Panels/FGPanel_Protocol_c172p' #alias xonotic='cd ~/.Xonotic && optirun ~/.Xonotic/xonotic-linux64-glx -sessionid vaskozl' alias blizz='wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Battle.net/Battle.net.exe' -alias starcraft='wine ~/.wine/drive_c/Program\ Files\ \(x86\)/StarCraft\ II/Support/SC2Switcher.exe' +alias starcraft='wine ~/.wine/drive_c/Program\ Files\ \(x86\)/StarCraft\ II/Support64/SC2Switcher_x64.exe' alias lotv='wine "/home/vasko/.wine/drive_c/Program Files (x86)/StarCraft II - Legacy of the Void Beta/Support/SC2Switcher.exe"' # Network tools diff --git a/Shell/zshrc b/Shell/zshrc index e0ad925..3e4b71d 100644 --- a/Shell/zshrc +++ b/Shell/zshrc @@ -23,7 +23,7 @@ source ~/.bash_aliases export GPGKEY="895134C5" export PATH="$HOME/bin:$PATH" -export EDITOR="vim" +export EDITOR="nvim" export BROWSER="~/.ratposon/firesend" export LD_LIBRARY_PATH=/usr/local/lib export wiki_browser='firefox' @@ -57,10 +57,29 @@ fi export ANDROID_HOME=/opt/android-sdk -#fortune -s | cowsay -f $(ls /usr/share/cows/ | shuf -n1) -#fortune -s -#~/archey - +~/bin/sysinfo +case $TERM in + (*xterm* | *rxvt*) + # Write some info to terminal title. + # This is seen when the shell prompts for input. + function precmd { +if pgrep "panel" > /dev/null +then + print -Pn "\e]0;%(1j,%j job%(2j|s|); ,)%1~\a" + ~/dotfiles/Panel/lemonbar/windows +fi + } + # Write command and args to terminal title. + # This is seen while the shell waits for a command to complete. + function preexec { +if pgrep "panel" > /dev/null +then + printf "\033]0;%s\a" "$1" + ~/dotfiles/Panel/lemonbar/windows +fi + } + ;; +esac |