aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorNeodarZ <neodarz@neodarz.net>2017-08-23 19:33:03 +0200
committerNeodarZ <neodarz@neodarz.net>2017-08-23 19:33:03 +0200
commit86d74ccec5fd11d54f3b5ca6bf0fcaf68e0bde20 (patch)
tree3a6d61ed182ab0a04a57878c3a0a6edc7e598874 /zsh
parent3576f2e2e6e80129410f1c1c800cc78c00d7ba31 (diff)
downloaddotfiles_ascii-86d74ccec5fd11d54f3b5ca6bf0fcaf68e0bde20.tar.xz
dotfiles_ascii-86d74ccec5fd11d54f3b5ca6bf0fcaf68e0bde20.zip
Add new zsh completion plugin
Diffstat (limited to '')
-rwxr-xr-xzsh/.zsh/aliases.zsh30
-rw-r--r--zsh/.zsh/plugin.zsh1
2 files changed, 17 insertions, 14 deletions
diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh
index 64e4bb7..6e2a8bd 100755
--- a/zsh/.zsh/aliases.zsh
+++ b/zsh/.zsh/aliases.zsh
@@ -21,6 +21,7 @@ alias ll='ls -lhF --color=auto --group-directories-first --time-style=+"%d.%m.%Y
alias ls='ls -F --color=auto --group-directories-first'
alias ".."="cd ../"
alias "..."="cd ../.."
+alias "../.."="cd ../.."
alias rmrf="rm -rf"
alias psef="ps -ef"
alias mkdir="mkdir -p"
@@ -65,7 +66,7 @@ alias lol="base64 </dev/urandom | lolcat"
alias pacman="sudo pacman"
alias update="yaourt -Syua"
alias systemctl="sudo systemctl"
-alias :q="poweroff"
+#alias :q="poweroff"
alias off="poweroff"
alias dldstart="systemctl --user start aria2d.service"
alias dldstop="systemctl --user stop aria2d.service"
@@ -83,25 +84,26 @@ alias disks='echo "╓───── m o u n t . p o i n t s"; echo "╙──
#alias todo="bash ~/code/sys/todo"
alias record="ffmpeg -f x11grab -s 1920x1080 -an -r 16 -loglevel quiet -i :0.0 -b:v 5M -y" #pass a filename
#alias nexus="jmtpfs ~/nexus"
-alias nullify="~/script/nullify"
+alias nullify="~/.scripts/nullify"
alias ff="nullify firefox-developer"
alias lo="nullify libreoffice"
alias fixit='sudo rm -f /var/lib/pacman/db.lck'
-alias mirrors='sudo pacman-mirrors -g'
+#alias mirrors='sudo pacman-mirrors -g'
alias printer='system-config-printer'
alias bat="upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep 'percentage:' | awk '{print $2}'"
alias t="task"
alias ts="task sync"
alias tcal="task calendar"
-alias tp="task -TASK"
-alias tt="task +TASK"
-alias ttoday="task +TODAY"
-alias ttomorrow="task +TOMORROW"
-alias tyesterday="task +YESTERDAY"
-alias tweek="task +WEEK"
-alias tmonth="task +MONTH"
-
+alias thistory="task history"
+alias tgraphdaily="task burndown.daily"
+alias tgraphweek="task burndown.week"
+alias tgraphmonth="task burndown.month"
+alias tnext="task +next"
+alias tdone="sh ~/.scripts/tdone"
+alias tactive="task active"
+alias tlistprojects="task projects"
+alias tlistallprojects="task rc.list.all.projects=1 projects"
alias rl='source ~/.zsh/aliases.zsh'
alias rssyoutube="newsbeuter -c /home/neodarz/.newsbeuter/youtube.db -u /home/neodarz/.newsbeuter/urls_youtube -C /home/neodarz/.newsbeuter/youtube_conf"
alias rssliberte="newsbeuter -c /home/neodarz/.newsbeuter/liberte.db -u /home/neodarz/.newsbeuter/urls_liberte -C /home/neodarz/.newsbeuter/liberte_conf"
@@ -110,8 +112,8 @@ alias rsscode="newsbeuter -c /home/neodarz/.newsbeuter/code.db -u /home/neodarz/
alias rsshardware="newsbeuter -c /home/neodarz/.newsbeuter/hardware.db -u /home/neodarz/.newsbeuter/urls_hardware -C /home/neodarz/.newsbeuter/hardware_conf"
alias rssactu="newsbeuter -c /home/neodarz/.newsbeuter/actu.db -u /home/neodarz/.newsbeuter/urls_actu -C /home/neodarz/.newsbeuter/actu_conf"
alias i3lock="i3lock-fancy"
-alias weatherM="weather -k 0aebbf2d72f2b78f797b650a76c88401 -c -z 47.9955,0.1939"
-alias weatherC="weather -k 0aebbf2d72f2b78f797b650a76c88401 -c -z 47.1778,-1.3416"
+alias weatherMans="weather -k 0aebbf2d72f2b78f797b650a76c88401 -c -z 47.9955,0.1939"
+alias weatherChap="weather -k 0aebbf2d72f2b78f797b650a76c88401 -c -z 47.1778,-1.3416"
alias vpn="sh /home/neodarz/Apps/ipsec-vpn/vpn"
alias cal="ikhal"
alias cals="vdirsyncer sync"
@@ -132,7 +134,7 @@ alias tlol="printf '\033k┐(^0^)┌\033\\'"
# mpc update
#}
-function t() {
+function tm() {
X=$#
[[ $X -eq 0 ]] || X=X
tmux new-session -A -s $X
diff --git a/zsh/.zsh/plugin.zsh b/zsh/.zsh/plugin.zsh
index 5519c2c..bb9573a 100644
--- a/zsh/.zsh/plugin.zsh
+++ b/zsh/.zsh/plugin.zsh
@@ -1,3 +1,4 @@
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/.zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
+source ~/.zsh/plugins/zsh-completions/zsh-completions.plugin.zsh