mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2025-03-05 01:29:57 +01:00
restructure fish config
This commit is contained in:
parent
c2ea647dcc
commit
dc50391a65
3 changed files with 12 additions and 10 deletions
10
.config/fish/conf.d/00-env.fish
Normal file
10
.config/fish/conf.d/00-env.fish
Normal file
|
@ -0,0 +1,10 @@
|
|||
# use clang compiler
|
||||
export CC=clang
|
||||
export CXX=clang++
|
||||
|
||||
# neovim editor
|
||||
export EDITOR=nvim
|
||||
|
||||
# paths
|
||||
export PATH="$PATH:$HOME/.cargo/bin:$HOME/.local/bin:/var/lib/snapd/snap/bin:$HOME/go/bin"
|
||||
export LUA_CPATH="$HOME/.local/lib/lua/?.so;$HOME/.local/lib/lua/?.lua;;"
|
2
.config/fish/conf.d/99-prompt.fish
Normal file
2
.config/fish/conf.d/99-prompt.fish
Normal file
|
@ -0,0 +1,2 @@
|
|||
# see prompt/ directory for this
|
||||
prompt printfish | source
|
|
@ -54,16 +54,6 @@ function todos
|
|||
rg -i -H todo
|
||||
end
|
||||
|
||||
# ENV
|
||||
export CXX=clang++
|
||||
export EDITOR=nvim
|
||||
|
||||
export PATH="$PATH:$HOME/.cargo/bin:$HOME/.local/bin:/var/lib/snapd/snap/bin:$HOME/go/bin"
|
||||
export LUA_CPATH="$HOME/.local/lib/lua/?.so;$HOME/.local/lib/lua/?.lua;;"
|
||||
#
|
||||
# install custom prompt to ~/.local/bin/prompt (or somewhere else in $PATH)
|
||||
prompt printfish | source
|
||||
|
||||
# custom title
|
||||
functions -e fish_title
|
||||
function fish_title
|
||||
|
|
Loading…
Add table
Reference in a new issue