From 4ca8f6608883d230131f8a9e8b6d6c091c516049 Mon Sep 17 00:00:00 2001 From: Nick Shipp Date: Wed, 15 Feb 2017 11:59:26 -0500 Subject: Oops, messed up load order of zshrcs --- zsh/00_environ.zsh | 15 +++++++++++++++ zsh/00_params.zsh | 15 --------------- zsh/01_env.zsh | 15 --------------- zsh/01_params.zsh | 15 +++++++++++++++ 4 files changed, 30 insertions(+), 30 deletions(-) create mode 100644 zsh/00_environ.zsh delete mode 100644 zsh/00_params.zsh delete mode 100644 zsh/01_env.zsh create mode 100644 zsh/01_params.zsh (limited to 'zsh') diff --git a/zsh/00_environ.zsh b/zsh/00_environ.zsh new file mode 100644 index 0000000..5c1d003 --- /dev/null +++ b/zsh/00_environ.zsh @@ -0,0 +1,15 @@ +EDITOR="ed -p:" +VISUAL=vim +SUDO_EDITOR="vim -Z" +MANPAGER="vim -M +MANPAGER -" +PAGER=vimpager +BROWSER=qutebrowser +TERMINAL=st +VIMINIT="let \$MYVIMRC = '$XDG_CONFIG_HOME/vim/main.vim' | source \$MYVIMRC" +VIMPAGER_RC="$XDG_CONFIG_HOME/vim/main.vim" +PERLDOC_PAGER=vimpager +PERLTIDY=$XDG_CONFIG_HOME/perltidy + +export EDITOR VISUAL SUDO_EDITOR MANPAGER PAGER BROWSER TERMINAL VIMINIT PERLDOC_PAGER VIMPAGER_RC PERLTIDY +eval $(dircolors -b $ZDOTDIR/dircolors) +eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) diff --git a/zsh/00_params.zsh b/zsh/00_params.zsh deleted file mode 100644 index 15b8e3e..0000000 --- a/zsh/00_params.zsh +++ /dev/null @@ -1,15 +0,0 @@ -PROMPT='%F{249}%D{%H}%F{245}%D{%M}%F{242}%D{%S} %F{red}%n%f@%F{blue}%m%f %F{yellow}%1~%f %(!.#.$) ' - -FCEDIT=$VISUAL -HISTFILE=$XDG_DATA_HOME/zsh/history -HISTSIZE=10000 -SAVEHIST=10000000 -REPORTTIME=60 - -fpath=($ZDOTDIR/Functions $fpath) -path=($HOME/bin /usr/bin/vendor_perl $path) - -# Expand ~zsh to $ZDOTDIR -hash -d zsh=$ZDOTDIR -# Same for vim -hash -d vim=$XDG_CONFIG_HOME/vim diff --git a/zsh/01_env.zsh b/zsh/01_env.zsh deleted file mode 100644 index 5c1d003..0000000 --- a/zsh/01_env.zsh +++ /dev/null @@ -1,15 +0,0 @@ -EDITOR="ed -p:" -VISUAL=vim -SUDO_EDITOR="vim -Z" -MANPAGER="vim -M +MANPAGER -" -PAGER=vimpager -BROWSER=qutebrowser -TERMINAL=st -VIMINIT="let \$MYVIMRC = '$XDG_CONFIG_HOME/vim/main.vim' | source \$MYVIMRC" -VIMPAGER_RC="$XDG_CONFIG_HOME/vim/main.vim" -PERLDOC_PAGER=vimpager -PERLTIDY=$XDG_CONFIG_HOME/perltidy - -export EDITOR VISUAL SUDO_EDITOR MANPAGER PAGER BROWSER TERMINAL VIMINIT PERLDOC_PAGER VIMPAGER_RC PERLTIDY -eval $(dircolors -b $ZDOTDIR/dircolors) -eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) diff --git a/zsh/01_params.zsh b/zsh/01_params.zsh new file mode 100644 index 0000000..15b8e3e --- /dev/null +++ b/zsh/01_params.zsh @@ -0,0 +1,15 @@ +PROMPT='%F{249}%D{%H}%F{245}%D{%M}%F{242}%D{%S} %F{red}%n%f@%F{blue}%m%f %F{yellow}%1~%f %(!.#.$) ' + +FCEDIT=$VISUAL +HISTFILE=$XDG_DATA_HOME/zsh/history +HISTSIZE=10000 +SAVEHIST=10000000 +REPORTTIME=60 + +fpath=($ZDOTDIR/Functions $fpath) +path=($HOME/bin /usr/bin/vendor_perl $path) + +# Expand ~zsh to $ZDOTDIR +hash -d zsh=$ZDOTDIR +# Same for vim +hash -d vim=$XDG_CONFIG_HOME/vim -- cgit v1.2.3-70-g09d2