config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 132260212052cf28e642e13ea5f1c9f0c712fca1
parent eac21f164d2868e3d3da5689576775bf92ab6b97
Author: jacobs-github <JacobDoesLinux@protonmail.com>
Date:   Sun,  9 Feb 2020 13:59:13 -0800

removed path decloration for its in profile

Diffstat:
Mzsh/.zshrc | 21++++-----------------
1 file changed, 4 insertions(+), 17 deletions(-)

diff --git a/zsh/.zshrc b/zsh/.zshrc @@ -18,23 +18,11 @@ zstyle ':completion:*' menu select bindkey -M menuselect '^[[Z' reverse-menu-complete compinit -compdef "_files -W "$HOME/.notes"" note +compdef "_files -W "$NOTES"" note # }}} -#>global variables {{{ - -#PATH=/opt/cocos2d-x/tools/cocos2d-console/bin/:$PATH -PATH=$HOME/bin:$PATH -PATH=$HOME/projects/projects.bin:$PATH -#PATH=$HOME/.xmobar:$PATH -PATH=$HOME/.config/bspwm/bspc-utils/:$PATH -PATH=$HOME/.config/bspwm/bspwm-etc/:$PATH -export PATH - -# }}} - #>keys {{{ listdir() { echo ; ls --hide 'Downloads' --color=always --group-directories-first } zle -N listdir @@ -146,7 +134,6 @@ if [ $(uname | tail -c 4 ) != 'BSD' ]; then # Shortcuts/Renaming alias meta='exiftool' - alias clips='note clips' alias cfg='config' alias v='nvim' alias vim='nvim' @@ -186,10 +173,10 @@ if [ $(uname | tail -c 4 ) != 'BSD' ]; then date="$( date +%Y/%m/%d)" fi - if [ ! -e "$HOME/.notes/daily/$date" ]; then - printf "$( date +%d/%m/%Y)\n\n$( date '+%R' )" >> "$HOME/.notes/daily/$date" + if [ ! -e "$NOTES/daily/$date" ]; then + printf "$( date +%d/%m/%Y)\n\n$( date '+%R' )" >> "$NOTES/daily/$date" else - printf "\n\n$( date '+%R' )" >> "$HOME/.notes/daily/$date" + printf "\n\n$( date '+%R' )" >> "$NOTES/daily/$date" fi note "daily/$date"