diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2024-04-21 12:08:53 -0500 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2024-04-21 12:08:53 -0500 |
| commit | 7cf3480c0ecc210a2170d17a8f079b51b7b1c431 (patch) | |
| tree | df90386ffaa85ed0b050de2679593633dab0e190 | |
| parent | 0de99089ece163b3caeb89bb7709f2fbd437646f (diff) | |
mv
| -rw-r--r-- | fish/config.fish | 8 | ||||
| -rw-r--r-- | fish/nspawn.config.fish | 46 |
2 files changed, 5 insertions, 49 deletions
diff --git a/fish/config.fish b/fish/config.fish index 25cefdf..3beecd7 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -28,7 +28,7 @@ if status is-interactive end # pager -set -gx PAGER less +set -gx PAGER bat # grokloc-related set -gx REPOSITORY_BASE /tmp @@ -39,6 +39,8 @@ set -gx PERL_UNICODE AS set -gx PERL_READLINE_NOWARN yes fish_add_path -p $HOME/bin +fish_add_path -p $HOME/go/bin -# ui -starship init fish | source +function fish_prompt + echo '> ' +end diff --git a/fish/nspawn.config.fish b/fish/nspawn.config.fish deleted file mode 100644 index 3beecd7..0000000 --- a/fish/nspawn.config.fish +++ /dev/null @@ -1,46 +0,0 @@ -alias c="clear" -alias h="history" -alias gpg-agent-restart="gpg-connect-agent reloadagent /bye" - -if status is-interactive - # locale - set -gx LANG en_US.UTF-8 - set -gx LC_ALL en_US.UTF-8 - - # history - set -gx HISTFILE $HOME/.histfile - set -gx HISTSIZE 10000 - set -gx SAVEHIST 10000 - - # default editor - set -gx EDITOR emacsclient - set -gx ALTERNATE_EDITOR nano - set -gx VISUAL emacsclient - - # gnupg - set -gx GPG_TTY (tty) - gpg-connect-agent updatestartuptty /bye >/dev/null - - # ssh-agent - set -gx SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/ssh-agent.socket" - - clear -end - -# pager -set -gx PAGER bat - -# grokloc-related -set -gx REPOSITORY_BASE /tmp -set -gx POSTGRES_APP_URL postgres://grokloc:grokloc@localhost:5432/app - -# perl vars -set -gx PERL_UNICODE AS -set -gx PERL_READLINE_NOWARN yes - -fish_add_path -p $HOME/bin -fish_add_path -p $HOME/go/bin - -function fish_prompt - echo '> ' -end |
