From 9b2ef288e440c7942d0d2b1c09c0852c912d5ac0 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 27 Jul 2021 01:32:59 +0100 Subject: (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) --- Shell/.zprofile | 2 +- Shell/.zshrc | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'Shell') diff --git a/Shell/.zprofile b/Shell/.zprofile index be3e508..978c0a3 100644 --- a/Shell/.zprofile +++ b/Shell/.zprofile @@ -1,7 +1,7 @@ # .zprofile -*- mode: sh; lexical-binding: t; -*- # Standard Variables -export EDITOR='emacsclient -s MAIN -a "emacs" -c' +export EDITOR='emacsclient -a "emacs" -c' export EA_EDITOR=$EDITOR export TERMINAL="alacritty" export BROWSER="qutebrowser" 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 -- cgit v1.2.3-13-gbd6f