spacemacs works + ohmyposh theme improvement

added username to right side of prompt
edit-with-spacemacs works with multiple files, even if they have spaces
in the file name
if emacs is installed and edit-with-spacemacs exists, that will become
the vi of chioce for the user.
This commit is contained in:
Gal Szkolnik 2022-06-03 10:49:50 -04:00
parent d6169ea75a
commit 8cb6f49db9
3 changed files with 18 additions and 12 deletions

View file

@ -3,7 +3,7 @@ Name=Spacemacs (Client)
Comment=GNU Emacs is an extensible, customizable text editor - and more
Icon=emacs
Type=Application
Exec=~/.local/bin/edit-with-spacemacs
Exec=sh -c "~/.local/bin/edit-with-spacemacs"
Terminal=false
Categories=Utility;Development;TextEditor;

View file

@ -1,10 +0,0 @@
[Desktop Entry]
Name=[Spacemacs Daemon]
Comment=GNU Emacs is an extensible, customizable text editor - and more
Icon=emacs
Type=Application
Exec=/usr/bin/emacs --with-profile spacemacs --daemon
Terminal=false
Categories=Utility;Development;TextEditor;
Keywords=Text;Editor;
Version=1.0