Updated config

This commit is contained in:
Eduard Urbach 2025-06-06 16:33:36 +02:00
parent 20799af627
commit cd69348dbf
Signed by: eduard
GPG key ID: 49226B848C78F6C8
19 changed files with 23 additions and 23 deletions

View file

@ -1,3 +1,3 @@
function cdls --on-variable PWD
ls
end
end

View file

@ -1,8 +1,4 @@
if status is-interactive
# Aliases
source $HOME/.config/fish/alias.fish
# Set environment variables from .env
if test -f ~/.env
while read -la line
set -l keyval (string split -m1 "=" $line)
set -l key (string trim $keyval[1])
@ -10,4 +6,8 @@ if status is-interactive
set -l value (eval echo $value)
set -xg $key $value
end < ~/.env
end
if status is-interactive
source $HOME/.config/fish/alias.fish
end

View file

@ -1,3 +1,3 @@
function config
f $HOME/.config/$argv
end
end

View file

@ -1,2 +1,2 @@
function fish_greeting
end
end

View file

@ -3,4 +3,4 @@ function fish_prompt
echo -n (prompt_pwd)
set_color normal
printf " "
end
end

View file

@ -4,4 +4,4 @@ function ls --wraps eza
else
command ls $argv
end
end
end

View file

@ -35,4 +35,4 @@ fish_pager_color_secondary_prefix
fish_pager_color_selected_background --background=FFCC66
fish_pager_color_selected_completion
fish_pager_color_selected_description
fish_pager_color_selected_prefix
fish_pager_color_selected_prefix