removed zsh files from here
antigen can include them directly, no need to store them here
This commit is contained in:
parent
008eafa2ca
commit
69808a591b
3 changed files with 0 additions and 41 deletions
30
aliases.zsh
30
aliases.zsh
|
@ -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
|
||||
|
|
@ -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; }
|
||||
|
6
init.zsh
6
init.zsh
|
@ -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
|
Loading…
Reference in a new issue