all repos — dotfiles @ 168dac2c3ebe0bad340451072ae52cb6776d082d

linux dotfiles

update zshrc

added alias for ping and history command
prithugoswami prithugoswami524@gmail.com
Tue, 18 Sep 2018 05:50:43 +0530
commit

168dac2c3ebe0bad340451072ae52cb6776d082d

parent

5ccfdd7416fb6bbd6b99eae7b6a13f164aa6ade1

1 files changed, 8 insertions(+), 0 deletions(-)

jump to
M .zshrc.zshrc

@@ -96,6 +96,8 @@ alias sn="shutdown now"

alias rn="shutdown -r now" alias :wq="exit" alias tmux="tmux -u" +alias ch="ping 8.8.8.8" + #alias cfzf="cd $(fzf)" #<cmd> | pastebin will upload the stdout of <cmd> and put the link #in the clipboard

@@ -122,6 +124,12 @@ else

task add +in "$@" fi } + +#history search using fzf +h(){ + $(cat ~/.zsh_history | awk -F ';' '{ $1="" ; print }' | fzf --tac ) +} + alias t="task" alias todo="task modify -in"