diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-11-19 00:41:59 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-11-19 00:42:31 +0000 |
commit | a30b61fb45cf5dfb4f4da1bbbb9564fb32f9493a (patch) | |
tree | 8cbdd881b0c5010513171f2ee06862bd98d45c89 /zsh | |
parent | 07b6f9222d743d54380faef01c5ebf7108d1f02c (diff) | |
download | dotfiles-a30b61fb45cf5dfb4f4da1bbbb9564fb32f9493a.tar.gz dotfiles-a30b61fb45cf5dfb4f4da1bbbb9564fb32f9493a.zip |
Add changes to doom emacs and zsh
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zsh/export.zsh | 2 | ||||
-rw-r--r-- | zsh/.zsh/function.zsh | 1 | ||||
-rw-r--r-- | zsh/.zshrc | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/zsh/.zsh/export.zsh b/zsh/.zsh/export.zsh index 1cc8bef..f7f6d9f 100644 --- a/zsh/.zsh/export.zsh +++ b/zsh/.zsh/export.zsh @@ -49,7 +49,7 @@ append_path "/opt/Xilinx/Vivado/2019.1/bin" append_path "/opt/intelFPGA_lite/18.1/quartus/bin" append_path "$HOME/projects/vericert/bin" append_path "/opt/bin" -append_path "$HOME/go/bin" +oappend_path "$HOME/go/bin" export PATH diff --git a/zsh/.zsh/function.zsh b/zsh/.zsh/function.zsh index 6fa8bd0..9c24c05 100644 --- a/zsh/.zsh/function.zsh +++ b/zsh/.zsh/function.zsh @@ -3,6 +3,7 @@ alias em='emacsclient -nw -a ""' alias ls='exa' alias ff='firefox' alias vim=nvim +alias open=xdg-open # alias lspasscp='lpass show -c --password $(lpass ls | fzf | awk '{print $(NF)}' | sed 's/\\]//g')' # fixing pdflatex @@ -28,7 +28,8 @@ setopt HIST_FIND_NO_DUPS #if [ -d ~/.cache/wal ]; then (cat ~/.cache/wal/sequences &) fi #export MINIMAL_MAGIC_ENTER=no -PS1="%n@%m %1~ %# " +autoload -U colors && colors +PS1="%{$fg[magenta]%}%n%{$reset_color%}@%{$fg[cyan]%}%m %{$fg[green]%}%1~%{$reset_color%} %# " # Sourcing everything #if [ -e /usr/share/fzf/key-bindings.zsh ]; then source /usr/share/fzf/key-bindings.zsh; fi |