aboutsummaryrefslogtreecommitdiff
path: root/Shell/.zshrc
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-07-27 01:32:59 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-07-27 01:32:59 +0100
commit9b2ef288e440c7942d0d2b1c09c0852c912d5ac0 (patch)
tree013b0546868e072c7ba8236160c5ed06fd243995 /Shell/.zshrc
parentad5cb2b50985da466ea30ae5a5b2eea07ba212b9 (diff)
downloaddotfiles-9b2ef288e440c7942d0d2b1c09c0852c912d5ac0.tar.gz
dotfiles-9b2ef288e440c7942d0d2b1c09c0852c912d5ac0.tar.bz2
dotfiles-9b2ef288e440c7942d0d2b1c09c0852c912d5ac0.zip
(Shell|XServer)~minor edits with indenting
(Shell)~propagate change to emacs service (no -s MAIN) and editing (XServer)~state explicit full path for lock script for ease of understanding (it's a user script, not some other program)
Diffstat (limited to 'Shell/.zshrc')
-rw-r--r--Shell/.zshrc24
1 files changed, 12 insertions, 12 deletions
diff --git a/Shell/.zshrc b/Shell/.zshrc
index 15df5f7..b663f9f 100644
--- a/Shell/.zshrc
+++ b/Shell/.zshrc
@@ -20,15 +20,15 @@ alias sedit="emacsclient -s MAIN -a emacs -c"
alias cedit="emacsclient -s MAIN -a emacs -nw"
vf () {
- vim $(fzf)
+ vim $(fzf)
}
ef () {
- sedit $(fzf)
+ sedit $(fzf)
}
psearch () {
- pacman -Ss $@ | less
+ pacman -Ss $@ | less
}
### Git aliases
@@ -90,15 +90,15 @@ bindkey '^[[B' history-substring-search-down
# Cursor
function zle-keymap-select {
- if [[ ${KEYMAP} == vicmd ]] ||
- [[ $1 = 'block' ]]; then
- echo -ne '\e[1 q'
- elif [[ ${KEYMAP} == main ]] ||
- [[ ${KEYMAP} == viins ]] ||
- [[ ${KEYMAP} = '' ]] ||
- [[ $1 = 'beam' ]]; then
- echo -ne '\e[5 q'
- fi
+ if [[ ${KEYMAP} == vicmd ]] ||
+ [[ $1 = 'block' ]]; then
+ echo -ne '\e[1 q'
+ elif [[ ${KEYMAP} == main ]] ||
+ [[ ${KEYMAP} == viins ]] ||
+ [[ ${KEYMAP} = '' ]] ||
+ [[ $1 = 'beam' ]]; then
+ echo -ne '\e[5 q'
+ fi
}
zle -N zle-keymap-select