From f197bd579c0e79e98652ef000388e13a36dc782d Mon Sep 17 00:00:00 2001 From: Gal Szkolnik Date: Sat, 28 May 2022 17:54:45 -0400 Subject: [PATCH] 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` --- _home/dot_sz.shrc.d/21_aliases | 4 +++- .../private_applications/spacemacs.client.desktop | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/_home/dot_sz.shrc.d/21_aliases b/_home/dot_sz.shrc.d/21_aliases index e5ec219..ca10121 100644 --- a/_home/dot_sz.shrc.d/21_aliases +++ b/_home/dot_sz.shrc.d/21_aliases @@ -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 " diff --git a/_home/private_dot_local/private_share/private_applications/spacemacs.client.desktop b/_home/private_dot_local/private_share/private_applications/spacemacs.client.desktop index 5f1e9ac..35804bd 100644 --- a/_home/private_dot_local/private_share/private_applications/spacemacs.client.desktop +++ b/_home/private_dot_local/private_share/private_applications/spacemacs.client.desktop @@ -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;