summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc15
1 files changed, 11 insertions, 4 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 774beef..08977b7 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -48,7 +48,7 @@ else
fi
setopt PROMPT_SUBST
-PROMPT='$MAINCOL%~$(git_info)$MAINCOL %(!.#.>) %F{255}'
+PROMPT='$MAINCOL%~$(git_info)$MAINCOL %(!.#.$) %F{255}'
#
# General setting
@@ -90,16 +90,20 @@ export SUDO_EDITOR=$EDITOR
export TERM="xterm-256color"
export PATH=$PATH:$HOME/Scripts/bin
export PATH=$PATH:$HOME/go/bin
-export PATH=$PATH:$HOME/.local/bin
export WORDCHARS='*?.[]~=&;!#$%^(){}<>'
+function extra_env {
+ export PATH=$PATH:$HOME/Software/litex/riscv64/bin/
+ export PATH=$PATH:$HOME/.local/bin
+ export PATH=$PATH:$HOME/go/bin
+}
+
#
# Alias
#
alias vim="$EDITOR"
alias ls='ls --color=auto'
-alias etckeep="/usr/bin/git --git-dir=/etc/.git --work-tree=/etc/"
-alias vim="echo no"
+alias python="python3"
#
# Functions
@@ -132,3 +136,6 @@ function goto {
echo cd $(</tmp/where)
fi
}
+
+source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
+