Enable transience for starship with fish
This commit is contained in:
parent
cacda98abb
commit
3be5139c66
|
@ -33,10 +33,7 @@
|
||||||
programs = {
|
programs = {
|
||||||
bash.enable = true;
|
bash.enable = true;
|
||||||
nushell.enable = true;
|
nushell.enable = true;
|
||||||
fish = {
|
fish.enable = true;
|
||||||
enable = true;
|
|
||||||
interactiveShellInit = "enable_transience";
|
|
||||||
};
|
|
||||||
zsh.initExtra = ''
|
zsh.initExtra = ''
|
||||||
xdg-query-program () {
|
xdg-query-program () {
|
||||||
FILETYPE=$(xdg-mime query filetype $@)
|
FILETYPE=$(xdg-mime query filetype $@)
|
||||||
|
@ -161,12 +158,13 @@
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
enableNushellIntegration = true;
|
enableNushellIntegration = true;
|
||||||
|
enableTransience = true;
|
||||||
settings = {
|
settings = {
|
||||||
command_timeout = 1000;
|
command_timeout = 1000;
|
||||||
add_newline = true;
|
add_newline = true;
|
||||||
character = {
|
character = {
|
||||||
success_symbol = "[➜](bold green)";
|
success_symbol = "[❯](bold green)";
|
||||||
error_symbol = "[✗](bold red)";
|
error_symbol = "[❯](bold red)";
|
||||||
};
|
};
|
||||||
directory = {
|
directory = {
|
||||||
truncation_length = 2;
|
truncation_length = 2;
|
||||||
|
|
Loading…
Reference in a new issue