diff options
| -rw-r--r-- | dotfiles/Rexfile | 2 | ||||
| -rw-r--r-- | dotfiles/fish/conf.d/config.fish | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/dotfiles/Rexfile b/dotfiles/Rexfile index 2488a09..d3c0b51 100644 --- a/dotfiles/Rexfile +++ b/dotfiles/Rexfile @@ -91,7 +91,7 @@ task 'pkg_freebsd', sub { desc 'Install packages on Fedora Linux'; task 'pkg_fedora', sub { my @pkgs = qw/ - zsh-autosuggestions + opendoas fd-find nodejs-bash-language-server fortune-mod diff --git a/dotfiles/fish/conf.d/config.fish b/dotfiles/fish/conf.d/config.fish index 5abc0e6..9319a0a 100644 --- a/dotfiles/fish/conf.d/config.fish +++ b/dotfiles/fish/conf.d/config.fish @@ -3,7 +3,12 @@ fish_vi_key_bindings # Add paths to PATH set -U fish_user_paths ~/bin ~/go/bin ~/.cargo/bin $fish_user_paths -abbr -a s sudo +if command -q -v doas >/dev/null + abbr -a s doas +else + abbr -a s sudo +end + # Git stuff abbr -a gl 'git log --pretty=oneline --graph --decorate --all' |
