mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-06-15 01:39:25 +02:00
set default fish prompt to custom prompt
This commit is contained in:
parent
f52e0db834
commit
04c008fa37
|
@ -54,6 +54,11 @@ function todos
|
|||
rg -i -H todo
|
||||
end
|
||||
|
||||
# install custom prompt to ~/.local/bin/prompt (or somewhere else in $PATH)
|
||||
function fish_prompt
|
||||
prompt $status
|
||||
end
|
||||
|
||||
# ENV
|
||||
export CXX=clang++
|
||||
export EDITOR=nvim
|
||||
|
@ -61,7 +66,6 @@ export EDITOR=nvim
|
|||
export PATH="$PATH:$HOME/.cargo/bin:$HOME/.local/bin:/var/lib/snapd/snap/bin:$HOME/go/bin"
|
||||
|
||||
# initialization stuff
|
||||
ifpresent starship 'starship init fish | source'
|
||||
ifpresent zoxide 'zoxide init fish | source'
|
||||
ifpresent cod 'cod init %self fish | source'
|
||||
ifpresent opam 'eval (opam env)'
|
||||
|
|
Loading…
Reference in a new issue