dotfiles

my shiny new dotfiles
git clone git://git.jakekoroman.com/dotfiles
Log | Files | Refs | README

commit 497e80f231df764157f0a0fadfbb89faae30a6f9
parent ee2de2a4339538defdf012fd38a675d1562c696d
Author: Jake Koroman <jakekoroman@proton.me>
Date:   Mon, 16 Sep 2024 10:12:07 -0400

trying out the fish shell.

Diffstat:
A.config/fish/config.fish | 4++++
A.config/fish/fish_variables | 31+++++++++++++++++++++++++++++++
A.config/fish/functions/e.fish | 4++++
A.config/fish/functions/eqm.fish | 4++++
A.config/fish/functions/equ.fish | 4++++
A.config/fish/functions/l.fish | 4++++
A.config/fish/functions/ll.fish | 4++++
A.config/fish/functions/v.fish | 4++++
A.config/fish/functions/vv.fish | 4++++
M.config/zsh/.zshrc | 2++
M.zprofile | 7++++---
11 files changed, 69 insertions(+), 3 deletions(-)

diff --git a/.config/fish/config.fish b/.config/fish/config.fish @@ -0,0 +1,4 @@ +if status is-interactive + # Commands to run in interactive sessions can go here + fish_vi_key_bindings +end diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables @@ -0,0 +1,31 @@ +# This file contains fish universal variable definitions. +# VERSION: 3.0 +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_key_bindings:fish_vi_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 diff --git a/.config/fish/functions/e.fish b/.config/fish/functions/e.fish @@ -0,0 +1,4 @@ +function e --wraps='doas emerge' --description 'alias e doas emerge' + doas emerge $argv + +end diff --git a/.config/fish/functions/eqm.fish b/.config/fish/functions/eqm.fish @@ -0,0 +1,4 @@ +function eqm --wraps='equery meta' --description 'alias eqm equery meta' + equery meta $argv + +end diff --git a/.config/fish/functions/equ.fish b/.config/fish/functions/equ.fish @@ -0,0 +1,4 @@ +function equ --wraps='equery uses' --description 'alias equ equery uses' + equery uses $argv + +end diff --git a/.config/fish/functions/l.fish b/.config/fish/functions/l.fish @@ -0,0 +1,4 @@ +function l --wraps='ls -l' --description 'alias l ls -l' + ls -l $argv + +end diff --git a/.config/fish/functions/ll.fish b/.config/fish/functions/ll.fish @@ -0,0 +1,4 @@ +function ll --wraps='ls -la' --description 'alias ll ls -la' + ls -la $argv + +end diff --git a/.config/fish/functions/v.fish b/.config/fish/functions/v.fish @@ -0,0 +1,4 @@ +function v --wraps=nvim --description 'alias v nvim' + nvim $argv + +end diff --git a/.config/fish/functions/vv.fish b/.config/fish/functions/vv.fish @@ -0,0 +1,4 @@ +function vv --wraps='doas nvim' --description 'alias vv doas nvim' + doas nvim $argv + +end diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc @@ -53,3 +53,5 @@ bindkey -M vicmd '^e' edit-command-line # Load syntax highlighting; should be last. # source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh 2> /dev/null + +[ -x /bin/fish ] && SHELL=/bin/fish exec fish diff --git a/.zprofile b/.zprofile @@ -2,7 +2,7 @@ export MOZ_ENABLE_WAYLAND=1 export ELECTRON_OZONE_PLATFORM_HINT=wayland -# export GTK_THEME=Adwaita:dark +export GTK_THEME=Adwaita:dark export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" @@ -28,6 +28,7 @@ export TERMINAL=foot export PATH=$CARGO_HOME/bin:$HOME/.local/bin:$HOME/scripts:$PATH -# export XDG_CURRENT_DESKTOP=wlroots +export XDG_CURRENT_DESKTOP=wlroots -[ $(tty) = "/dev/tty1" ] && [ -z $DISPLAY ] && startx +# [ $(tty) = "/dev/tty1" ] && [ -z $DISPLAY ] && startx +[ $(tty) = "/dev/tty1" ] && [ -z $DISPLAY ] && dbus-run-session river