~made spc use emacs as backup editor, export PF_INFO

using pfetch instead of neofetch

spc fails if no emacs open
This commit is contained in:
AChavali
2020-01-03 01:04:50 +00:00
parent a0ddfe0bce
commit 87818b48c5

3
zshenv
View File

@@ -3,6 +3,7 @@
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:~/.local/bin:~/bin:~/.emacs.d/bin
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
export DOTNET_CLI_TELEMTRY_OPTOUT=1
export PF_INFO="ascii title os memory uptime editor shell"
export EDITOR="emacs"
export SHELL="zsh"
alias yapf='python2 -m yapf'
@@ -13,7 +14,7 @@ export ZSH_THEME="af-magic"
# Programming
spc() { # Use this to create a new frame quickly. Also when you just want to open Emacs.
emacsclient -c --socket-name=MAIN $1 & disown
emacsclient -c -a=emacs --socket-name=MAIN $1 & disown
}
spu() { # Use this for times where you've already got a emacsclient frame open