diff options
| author | mirenn <me@mirenn.dev> | 2025-03-24 08:42:44 +0100 |
|---|---|---|
| committer | mirenn <me@mirenn.dev> | 2025-09-07 21:19:28 +0200 |
| commit | 1f2c530f0d6e1e32ea462166b1538425b0cd0fcd (patch) | |
| tree | f045e8af54d09e7c19186c29d20ee0a28f2743d3 /fish | |
| parent | 70d4c4f8045ed0d4e873a1383bbcbd91e31a7706 (diff) | |
| download | dotfiles-1f2c530f0d6e1e32ea462166b1538425b0cd0fcd.tar.gz dotfiles-1f2c530f0d6e1e32ea462166b1538425b0cd0fcd.zip | |
update
Diffstat (limited to 'fish')
| -rw-r--r-- | fish/config.fish | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/fish/config.fish b/fish/config.fish index 616d877..50941d1 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -1,7 +1,11 @@ #!/bin/fish function fish_prompt - printf '%s%s%s $ ' \ (set_color $fish_color_cwd) (prompt_pwd --full-length-dirs 5) (set_color normal) + printf (if fish_is_root_user + echo '%s%s%s # ' + else + echo '%s%s%s $ ' + end) \ (set_color $fish_color_cwd) (prompt_pwd --full-length-dirs 5) (set_color normal) end function start_niri @@ -19,9 +23,13 @@ end fish_add_path -p ~/.cargo/bin ~/.ghcup/bin set -U fish_greeting set EDITOR "neovim" +export DISPLAY=:0 if status is-login start_niri kill $fish_pid end + +# Created by `pipx` on 2025-05-03 19:57:49 +set PATH $PATH /home/eric.marin/.local/bin |
