From 87818b48c5ce9db4cc8ed52a434459b530118988 Mon Sep 17 00:00:00 2001 From: AChavali Date: Fri, 3 Jan 2020 01:04:50 +0000 Subject: ~made spc use emacs as backup editor, export PF_INFO using pfetch instead of neofetch spc fails if no emacs open --- zshenv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-13-gbd6f