restructure fish config

This commit is contained in:
LordMZTE 2022-07-10 14:56:01 +02:00
parent c2ea647dcc
commit dc50391a65
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
3 changed files with 12 additions and 10 deletions

View 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;;"

View file

@ -0,0 +1,2 @@
# see prompt/ directory for this
prompt printfish | source

View file

@ -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