diff --git a/aliases.zsh b/aliases.zsh deleted file mode 100644 index b81efcb..0000000 --- a/aliases.zsh +++ /dev/null @@ -1,30 +0,0 @@ -alias cdiff="colordiff" -alias clean-gpg="for a in `gpg2 -k | sed -rn 's/pub +[a-z0-9]+\/(0x[0-9A-Fa-f]+).*/\1/p'`; do gpg2 --quiet --no-tty --edit-key $a clean save; done;" -alias diff="diff -W $(( $(tput cols) - 2))" - -alias bz2c='bzip2 --best' -alias gzc='gzip --best --no-name' -alias xzc='xz --best --extreme' -alias halt='systemctl poweroff' -alias reboot='systemctl reboot' -#alias pyvenv='python3 -m venv' -alias extip='curl -LR1fs --compressed https://ipinfo.io/ | jq -Sc' -alias todo='todo-txt' - -alias jjar='java -jar' - -alias td='todo.sh' -alias todo='todo.sh' - -current_dist=`lsb_release -c -s` -all_dkms_packages="`apt-cache rdepends --installed dkms | sed -rn 's/^ +([^ ]+)$/\1/p' | sort -iu`" - -if [ $use_sudo -eq 1 ]; -then - alias adbu='sudo $apt_pref -t ${current_dist}-backports $apt_upgr' - alias drd='[ -n "$all_dkms_packages" ] && sudo dpkg-reconfigure $all_dkms_packages' -else - alias adbu='su -lc "$apt_pref -t ${current_dist}-backports $apt_upgr" root' - alias drd='[ -n "$all_dkms_packages" ] && su -lc "dpkg-reconfigure $all_dkms_packages" root' -fi - diff --git a/browser.zsh b/browser.zsh deleted file mode 100644 index c08f9a9..0000000 --- a/browser.zsh +++ /dev/null @@ -1,5 +0,0 @@ -function duckduck() { x-www-browser "https://duckduckgo.com/?q=`escape "$@"`"; } -function escape() { perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$@"; } -function google() { x-www-browser "https://www.google.de/search?q=`escape "$@"`"; } -function xmlformat () { xmllint --format "$1" | unexpand -t 2 --first-only; } - diff --git a/init.zsh b/init.zsh deleted file mode 100644 index 23a1330..0000000 --- a/init.zsh +++ /dev/null @@ -1,6 +0,0 @@ -[ -z "$EDITOR" ] && export EDITOR=sensible-editor - -export MAILCHECK=1 - -fortune debian house-harkonnen house-atreides | cowsay -f tux -W 76 -n -which todo > /dev/null && todo due