chore(nix): move specific aliases into individual configurations

This commit is contained in:
Stefan Imhoff
2024-07-30 20:39:25 +02:00
parent 5a20a5f010
commit 34d02cfcf1
3 changed files with 6 additions and 4 deletions

View File

@@ -43,6 +43,9 @@ in
# Set environment variables
set -gx TERM wezterm
# Aliases
alias reload 'exec fish'
'';
shellAliases = sharedAliases.shellAliases;

View File

@@ -5,10 +5,6 @@ let
in
{
shellAliases = mkAliases {
# ZSH
zshconfig = "vim $HOME/.zshrc";
reload = "source $HOME/.zshrc";
# Folders/Lists
"..." = "cd ../..";
".." = "cd ..";

View File

@@ -3,6 +3,9 @@ DISABLE_AUTO_TITLE="true" # Disable auto-setting terminal title
COMPLETION_WAITING_DOTS="true"
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=7,bg=bold,underline"
# Aliases
alias reload="source $HOME/.zshrc"
# Bindkey
bindkey -v
bindkey -M viins '^r' fzf-history-widget # (r)everse history search