mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 13:25:38 +00:00
only set kitty aliases in kitty terminal
This commit is contained in:
parent
c7de16b14c
commit
0a98b72784
@ -34,10 +34,13 @@
|
|||||||
programs.rofi.terminal = lib.mkIf pkgs.stdenv.isLinux (lib.mkDefault "${pkgs.kitty}/bin/kitty");
|
programs.rofi.terminal = lib.mkIf pkgs.stdenv.isLinux (lib.mkDefault "${pkgs.kitty}/bin/kitty");
|
||||||
|
|
||||||
# Display images in the terminal
|
# Display images in the terminal
|
||||||
programs.fish.shellAliases = {
|
programs.fish.interactiveShellInit = # fish
|
||||||
icat = "kitty +kitten icat";
|
''
|
||||||
ssh = "kitty +kitten ssh";
|
if test "$TERM" = "xterm-kitty"
|
||||||
};
|
alias icat="kitty +kitten icat"
|
||||||
|
alias ssh="kitty +kitten ssh"
|
||||||
|
end
|
||||||
|
'';
|
||||||
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user