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:
parent
d6169ea75a
commit
8cb6f49db9
|
@ -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;
|
||||
|
|
|
@ -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
|
|
@ -173,12 +173,28 @@
|
|||
"template": "{{ if gt .Code 0 }}{{ .Meaning }}{{ else }}\u2714{{ end }} ",
|
||||
"type": "exit"
|
||||
},
|
||||
{
|
||||
"background": "#4063D8",
|
||||
"background_templates": [
|
||||
"{{ if .Root }}lightRed{{ end }}"
|
||||
],
|
||||
"foreground": "#d3d7cf",
|
||||
"properties": {
|
||||
"display_host": true
|
||||
},
|
||||
"invert_powerline": true,
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "\ue0b2",
|
||||
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}></>{{ .UserName }}{{ if .Root }}!{{ else }}@{{ end }}{{ .HostName }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}></> \uf2bd ",
|
||||
"trailing_diamond": "\ue0b0\u2500\u256e",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "#d3d7cf",
|
||||
"foreground": "#000000",
|
||||
"invert_powerline": true,
|
||||
"style": "diamond",
|
||||
"template": "{{ .CurrentDate | date .Format }} \uf017 ",
|
||||
"template": " {{ .CurrentDate | date .Format }} \uf017",
|
||||
"trailing_diamond": "\ue0b0\u2500\u256e",
|
||||
"type": "time"
|
||||
}
|
Loading…
Reference in New Issue