Add fish config with omf.

This commit is contained in:
Hans Goor 2024-09-01 18:27:54 +02:00
parent e5c10e3398
commit b8cfcf85ee
Signed by: eyedevelop
SSH key fingerprint: SHA256:Td89veptDEwCV8J3fjqnknNk7SbwzedYhauyC2nFBYg
12 changed files with 61 additions and 0 deletions

4
.gitmodules vendored
View file

@ -4,3 +4,7 @@
[submodule "zsh/dot-oh-my-zsh"]
path = stowers/zsh/dot-oh-my-zsh
url = https://github.com/ohmyzsh/ohmyzsh
[submodule "stowers/fish/dot-local/share/omf"]
path = stowers/fish/dot-local/share/omf
url = https://github.com/oh-my-fish/oh-my-fish
branch = v7

3
stowers/fish/config.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/bash
COMMAND_DEPS=("fish")

View file

@ -0,0 +1,3 @@
set -U fish_greeting "> Have fun 🐟 <"
set -Ux WORKSPACE_DIR "$HOME/spaces/workspace"

View file

@ -0,0 +1 @@
alias cdw="cd \$WORKSPACE_DIR"

View file

@ -0,0 +1,7 @@
# Path to Oh My Fish install.
set -q XDG_DATA_HOME
and set -gx OMF_PATH "$XDG_DATA_HOME/omf"
or set -gx OMF_PATH "$HOME/.local/share/omf"
# Load Oh My Fish configuration.
source $OMF_PATH/init.fish

View file

@ -0,0 +1,3 @@
if status is-interactive
# Commands to run in interactive sessions can go here
end

View file

@ -0,0 +1,33 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR --export WORKSPACE_DIR:/home/eyedevelop/spaces/workspace
SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:brblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:blue
SETUVAR fish_color_comment:red
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:green
SETUVAR fish_color_error:brred
SETUVAR fish_color_escape:brcyan
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_host_remote:yellow
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:brcyan
SETUVAR fish_color_param:cyan
SETUVAR fish_color_quote:yellow
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_greeting:\x3e\x20Have\x20fun\x20\U0001f41f\x20\x3c
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:yellow\x1e\x2di
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr

View file

@ -0,0 +1,3 @@
function cdp
cd -- (_cdp_path $argv)
end

View file

@ -0,0 +1 @@
theme default

View file

@ -0,0 +1 @@
stable

View file

@ -0,0 +1 @@
default

@ -0,0 +1 @@
Subproject commit 92a572d8cdfdf5b219269d59210b8a28f6cd6616