mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
feat: switch from zsh to fish
This commit is contained in:
parent
420d932dec
commit
7f72b8f1a0
3 changed files with 22 additions and 76 deletions
25
home.nix
25
home.nix
|
@ -495,7 +495,8 @@
|
|||
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
# enableZshIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
|
||||
programs.gh = {
|
||||
|
@ -505,14 +506,14 @@
|
|||
|
||||
programs.oh-my-posh = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
# enableZshIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
enableBashIntegration = true;
|
||||
settings = with builtins;
|
||||
fromJSON (unsafeDiscardStringContext (readFile ./prompt.omp.json));
|
||||
useTheme = "catppuccin_macchiato";
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
@ -540,7 +541,19 @@
|
|||
};
|
||||
};
|
||||
|
||||
programs.bash = { enable = true; };
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
rebuild = "sudo nixos-rebuild switch";
|
||||
ls = "eza -l --icons=auto";
|
||||
};
|
||||
interactiveShellInit = ''
|
||||
fish_vi_key_bindings
|
||||
set -g fish_greeting
|
||||
'';
|
||||
};
|
||||
|
||||
programs.bash.enable = true;
|
||||
|
||||
programs.librewolf = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue