diff options
author | Julian T <julian@jtle.dk> | 2021-04-05 11:30:45 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-04-05 11:35:03 +0200 |
commit | 465baf9b1fa0acb2cdf6dd539e15828837b16dba (patch) | |
tree | 12c72a588b4484863a635cd6e6cd94662b5cf495 /zsh | |
parent | 12c708db26e60c6563a789fa01099aedb3080912 (diff) |
Move to nixos and zsh changes
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -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 + |