Some minor modifications
* Spacemacs client calls edit-with-spacemacs script (which is still a work-in-progress) * added lessr for less with raw control chars (for ANSI colors) * renamed `edshrc` to `sz-edshrc`
This commit is contained in:
parent
de2e7e8ae5
commit
f197bd579c
|
@ -3,9 +3,11 @@ alias nvim="/usr/bin/nvim -p "
|
|||
alias vim="nvim "
|
||||
alias vi="nvim "
|
||||
|
||||
alias lessr="less --raw-control-chars "
|
||||
|
||||
alias ed="nvim "
|
||||
|
||||
alias edshrc="ed ~/.sz.shrc.d ; exec $SHELL"
|
||||
alias sz-edshrc="ed ~/.sz.shrc.d ; exec $SHELL"
|
||||
alias cz="chezmoi "
|
||||
alias cz-refresh="chezmoi status | cut -d\ -f2 | grep '^\.sz\.shrc\.d' | xargs chezmoi forget --force; chezmoi add ~/.sz.shrc.d --recursive; chezmoi status; chezmoi git status"
|
||||
alias cz-commit="chezmoi git -- commit -a "
|
||||
|
|
|
@ -3,7 +3,8 @@ Name=Spacemacs (Client)
|
|||
Comment=GNU Emacs is an extensible, customizable text editor - and more
|
||||
Icon=emacs
|
||||
Type=Application
|
||||
Exec=/usr/bin/emacs --create-frame --socker-name=spacemacs
|
||||
Exec=~/.local/bin/edit-with-spacemacs
|
||||
|
||||
Terminal=false
|
||||
Categories=Utility;Development;TextEditor;
|
||||
Keywords=Text;Editor;
|
||||
|
|
Loading…
Reference in New Issue