Move fish config to shared

This commit is contained in:
2024-07-15 12:16:09 -05:00
parent eda64c4482
commit b08d50f4c2
7 changed files with 73 additions and 14 deletions

View File

@@ -0,0 +1,28 @@
if status is-interactive
fish_add_path "/home/eesim/.cargo/bin/"
set fish_greeting
set fish_cursor_default block
set fish_cursor_insert line
set fish_cursor_replace_one underscore
set fish_cursor_replace underscore
set fish_cursor_external line
set fish_cursor_visual block
function fish_mode_prompt
end
direnv hook fish | source
end
if status is-login
# Disable GTK portal
set -x GTK_USE_PORTAL "0"
# Java fix
set -x _JAVA_AWT_WM_NONREPARENTING "1"
end

View File

@@ -0,0 +1,33 @@
if status is-interactive
fish_add_path "/home/eesim/.cargo/bin/"
set fish_greeting
set fish_cursor_default block
set fish_cursor_insert line
set fish_cursor_replace_one underscore
set fish_cursor_replace underscore
set fish_cursor_external line
set fish_cursor_visual block
function fish_mode_prompt
end
direnv hook fish | source
end
if status is-login
# Disable GTK portal
set -x GTK_USE_PORTAL "0"
# Java fix
set -x _JAVA_AWT_WM_NONREPARENTING "1"
end
if test (tty) = "/dev/tty1"
sway
end