From 949e7c5fc27c11981e73c67bad5ae4bd7860a521 Mon Sep 17 00:00:00 2001 From: Joty Date: Tue, 24 Apr 2018 12:20:37 +0930 Subject: [PATCH] Added K, Marker --- .zshrc | 8 +++++++- quickz.sh | 14 ++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 29fcb82..252a86b 100644 --- a/.zshrc +++ b/.zshrc @@ -75,7 +75,8 @@ plugins=( redis-cli screen systemd - web-search) + web-search + k) #plugins+=(zsh-nvm) source $ZSH/oh-my-zsh.sh @@ -112,5 +113,10 @@ source $ZSH/oh-my-zsh.sh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh export FZF_DEFAULT_OPS="--extended" +export MARKER_KEY_NEXT_PLACEHOLDER="\C-b" #change maker key binding from Ctr+t to Ctr+b + +[[ -s "$HOME/.local/share/marker/marker.sh" ]] && source "$HOME/.local/share/marker/marker.sh" + + alias wip="wget -qO- https://wtfismyip.com/text" # quickly show external ip address alias l="ls -lah" diff --git a/quickz.sh b/quickz.sh index e64c90e..a8dd6bc 100755 --- a/quickz.sh +++ b/quickz.sh @@ -67,6 +67,20 @@ else fi ~/.fzf/install --all --key-bindings --completion --no-update-rc --64 +if git clone https://github.com/supercrabtree/k $HOME/.oh-my-zsh/custom/plugins/k; then : +else + cd ~/.oh-my-zsh/custom/plugins/k && git pull +fi + +if git clone https://github.com/pindexis/marker ~/marker; then : +else + cd ~/marker && git pull +fi + +if ~/marker/install.py; then + echo -e "Installed Marker" +else + echo -e "Marker Installation Had Issues" # source ~/.zshrc echo -e "\nSudo access is needed to change default shell\n"