aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2020-01-03 01:04:50 +0000
committerAChavali <aryadevchavali1@gmail.com>2020-01-03 01:04:50 +0000
commit87818b48c5ce9db4cc8ed52a434459b530118988 (patch)
treef547e3c8899d2c6b645e55e46462bd02532d288f
parenta0ddfe0bce844d337f0d27d251ddccf41b300d25 (diff)
downloaddotfiles-87818b48c5ce9db4cc8ed52a434459b530118988.tar.gz
dotfiles-87818b48c5ce9db4cc8ed52a434459b530118988.tar.bz2
dotfiles-87818b48c5ce9db4cc8ed52a434459b530118988.zip
~made spc use emacs as backup editor, export PF_INFO
using pfetch instead of neofetch spc fails if no emacs open
-rw-r--r--zshenv3
1 files changed, 2 insertions, 1 deletions
diff --git a/zshenv b/zshenv
index df3d00a..405fc2c 100644
--- a/zshenv
+++ b/zshenv
@@ -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