first commit

This commit is contained in:
2025-06-14 20:26:14 +02:00
commit 1edfd60dbd
351 changed files with 34592 additions and 0 deletions

6
fish/prev.d/.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
*
!.gitignore
!zoxide.fish
!prompt.fish
!ssh-agent.fish
!theme.fish

12
fish/prev.d/prompt.fish Normal file
View File

@@ -0,0 +1,12 @@
function fish_prompt -d "Write out the prompt"
# This shows up as USER@HOST /home/user/ >, with the directory colored
# $USER and $hostname are set by fish, so you can just use them
# instead of using `whoami` and `hostname`
printf '%s@%s %s%s%s > ' $USER $hostname \
(set_color $fish_color_cwd) (prompt_pwd) (set_color normal)
end
# oh-my-posh
if test -f $HOME/.config/posh_theme.omp.json; and type -q oh-my-posh
oh-my-posh init fish --config $HOME/.config/posh_theme.omp.json | source
end

6
fish/prev.d/theme.fish Normal file
View File

@@ -0,0 +1,6 @@
set -l theme 'Catpuccin Mocha'
if not set -q fish_current_theme; or not string match -q "$theme" "$fish_current_theme"
set -U fish_current_theme "$theme"
fish_config theme save "$theme"
end

4
fish/prev.d/zoxide.fish Normal file
View File

@@ -0,0 +1,4 @@
if type -q zoxide
zoxide init fish | source
alias cd=z
end