diff options
Diffstat (limited to 'zsh/.zsh')
-rw-r--r-- | zsh/.zsh/export.zsh | 4 | ||||
-rw-r--r-- | zsh/.zsh/function.zsh | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/zsh/.zsh/export.zsh b/zsh/.zsh/export.zsh index 07e1b56..3e72060 100644 --- a/zsh/.zsh/export.zsh +++ b/zsh/.zsh/export.zsh @@ -1,7 +1,7 @@ export GITHUB_HOME=$HOME/Github export ALTERNATE_EDITOR="" -export EDITOR="nvim" -export VISUAL="nvim" +export EDITOR='emacsclient -nw -a " "' +export VISUAL='emacsclient -c -a " "' export PATH="{$PATH}:${HOME}/.gem/ruby/2.5.0/bin:/usr/local/bin" export PATH="{$PATH}:${HOME}/.local/bin" diff --git a/zsh/.zsh/function.zsh b/zsh/.zsh/function.zsh index 30e24aa..1bdcf6c 100644 --- a/zsh/.zsh/function.zsh +++ b/zsh/.zsh/function.zsh @@ -2,7 +2,10 @@ alias fdisk='fdisk --color=always' alias grep='grep --color=always' alias ls='ls --color=always' alias l='ls -la --color=always' -alias vim='nvim' +alias vim='vim' +alias vi='vim' +alias em='emacsclient -c -a " "' +alias emt='emacsclient -nw -a " "' # alias lspasscp='lpass show -c --password $(lpass ls | fzf | awk '{print $(NF)}' | sed 's/\\]//g')' # fd - cd to selected directory |