chore: touch ups on home-manager program imports
This commit is contained in:
parent
09a219dd8b
commit
85c54fcc94
2 changed files with 2 additions and 2 deletions
51
programs/fish/default.nix
Normal file
51
programs/fish/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
|
||||
interactiveShellInit = ''
|
||||
## Set vim mode
|
||||
set -g fish_key_bindings fish_vi_key_bindings
|
||||
|
||||
# Configure FZF
|
||||
set -x FZF_DEFAULT_OPTS '--color=fg:#f8f8f2,hl:#bd93f9 --color=fg+:#f8f8f2,bg+:#44475a,hl+:#bd93f9 --color=info:#ffb86c,prompt:#50fa7b,pointer:#ff79c6 --color=marker:#ff79c6,spinner:#ffb86c,header:#6272a4 --layout=reverse --height 50%'
|
||||
|
||||
# Remove welcome message
|
||||
set -x fish_greeting ""
|
||||
|
||||
## Add directories to $PATH
|
||||
fish_add_path /home/wizardlink/.local/share/scripts \
|
||||
/home/wizardlink/.config/emacs/bin \
|
||||
/home/wizardlink/.spicetify \
|
||||
/home/wizardlink/.nimble/bin \
|
||||
/home/wizardlink/.cargo/bin \
|
||||
/home/wizardlink/.local/bin \
|
||||
/lib/flatpak/exports/bin \
|
||||
/home/wizardlink/.local/share/scripts/burrito
|
||||
'';
|
||||
|
||||
shellAbbrs = {
|
||||
z = "zoxide";
|
||||
};
|
||||
|
||||
shellAliases = {
|
||||
del = "trash_file";
|
||||
};
|
||||
|
||||
functions = {
|
||||
fish_prompt.body = ''
|
||||
set_color CC241D
|
||||
echo '&' (set_color normal)
|
||||
'';
|
||||
|
||||
fzf_edit.body = ''
|
||||
fzf --multi --bind 'enter:become(nvim {+})'
|
||||
'';
|
||||
|
||||
trash_file.body = ''
|
||||
mv $argv ~/.local/share/Trash
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue