diff --git a/zshrc b/zshrc index 59a7d97..36ef30b 100644 --- a/zshrc +++ b/zshrc @@ -13,30 +13,13 @@ if [ -f ~/.zsh_sensitive ] then source ~/.zsh_sensitive fi -#for accounts whithout root -if [ -f ~/.zsh_grml ] -then - source ~/.zsh_grml -fi source ~/.zsh_functions export EDITOR=vim export SYSTEMD_EDITOR=vim -alias sudo='sudo ' -alias tasks="ps -u fab" -alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg" -alias sml2p='/home/fab/.Sync-my-L2P/Sync-my-L2P.run' -alias ssh='ssh ' -alias ping='ping ' -alias aur-update='pacaur -Syu --devel --noconfirm' alias clear-orphans='sudo pacman -Rns $(pacman -Qqdt)' -alias rmtex='rm *.log; rm *.aux' -alias chibernate='cinnamon-screensaver-command --lock && sudo systemctl hibernate' -alias load-vboxdrivers='modprobe -a vboxdrv vboxnetadp vboxnetflt' alias mount-chroot='sudo mount /mnt/tmpfs; sudo mkdir /mnt/tmpfs/chroot' alias open='xdg-open' -# british mnemonic finder -alias mnemonic="cat /usr/share/dict/british | sed -r -n '/^.{5,10}$/p' | sed \"s/'//g\" | tr '[:upper:]' '[:lower:]' | shuf -n 1" #overwrite "default(?)" with my own function alias cdt='cdtemp' alias gst='git status' @@ -45,46 +28,15 @@ alias gdfs='git diff --staged' alias gad='git add' alias gcm='git commit' alias resource='source ~/.zshrc' -alias battery='upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep "time to"' alias poweroff='sudo poweroff' alias reboot='sudo reboot' alias n='ninja' alias m='make -j$(nproc)' alias cmake='cmake -G Ninja' -alias wlan='sudo netctl-auto list' -alias adb-connect='adb connect 192.168.1.138:5555' alias sysupgrade='sudo pacman -Syu; auracle sync' -alias delete-old-archives='sudo zsh -ci _delete-old-archives' -alias clean-paccache='sudo -s -- paccache -r; paccache -ruk0' -alias krypto="ssh -t azure screen -r" -alias prefix-create-date='exiftool -d %Y%m%d-%H%M%S_%%f.%%le "-filename