Added K, Marker

This commit is contained in:
Joty
2018-04-24 12:20:37 +09:30
parent 247e4c652e
commit 949e7c5fc2
2 changed files with 21 additions and 1 deletions

8
.zshrc
View File

@@ -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"

View File

@@ -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"