From 465baf9b1fa0acb2cdf6dd539e15828837b16dba Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 5 Apr 2021 11:30:45 +0200 Subject: Move to nixos and zsh changes --- zsh/.zshrc | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'zsh/.zshrc') 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 $(