summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2023-11-28 15:59:36 -0600
committerBrad Clawsie <brad@b7j0c.org>2023-11-28 15:59:36 -0600
commit2ba4e4b73577b311b0f8ab700a72f8bfeaa20b0c (patch)
treef4ab43d5013a4f5353c8b8c34a753c27f7931315
parentd63f4e264dcb979229e77582a2a2205209c70349 (diff)
deno, starship
-rw-r--r--fish/config.fish24
-rw-r--r--fish/config.fish-arch (renamed from fish/config.fish-nixos)24
-rw-r--r--nix/configuration.nix4
3 files changed, 29 insertions, 23 deletions
diff --git a/fish/config.fish b/fish/config.fish
index ce4a49d..2111efd 100644
--- a/fish/config.fish
+++ b/fish/config.fish
@@ -1,7 +1,3 @@
-# system paths
-set -gx PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
-
-# alias
alias c="clear"
alias h="history"
alias gpg-agent-restart="gpg-connect-agent reloadagent /bye"
@@ -19,9 +15,9 @@ if status is-interactive
set -gx SAVEHIST 10000
# default editor
- set -gx EDITOR emacsclient
+ set -gx EDITOR hx
set -gx ALTERNATE_EDITOR nano
- set -gx VISUAL emacsclient
+ set -gx VISUAL hx
# gnupg
set -gx GPG_TTY (tty)
@@ -36,26 +32,14 @@ set -gx PATH $HOME/bin $PATH
# pager
set -gx PAGER bat
-# go
-set -gx PATH $HOME/go/bin $PATH
-
# grokloc-related
set -gx REPOSITORY_BASE /tmp
set -gx POSTGRES_APP_URL postgres://grokloc:grokloc@localhost:5432/app
-# ui
-starship init fish | source
-
# perl vars
set -gx PERL_UNICODE AS
set -gx PERL_READLINE_NOWARN yes
-set -gx LOCAL_PERL5 $HOME/perl5
-set -gx PERL5LIB $LOCAL_PERL5/lib/perl5
-# perl paths
-set -gx PATH /usr/bin/vendor_perl $PATH
-set -gx PATH /usr/bin/core_perl $PATH
-set -gx PATH $LOCAL_PERL5/bin $PATH
+# ui
+starship init fish | source
-# gerbil
-set -gx PATH /opt/gerbil/bin $PATH
diff --git a/fish/config.fish-nixos b/fish/config.fish-arch
index afae918..ce4a49d 100644
--- a/fish/config.fish-nixos
+++ b/fish/config.fish-arch
@@ -1,3 +1,7 @@
+# system paths
+set -gx PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+
+# alias
alias c="clear"
alias h="history"
alias gpg-agent-restart="gpg-connect-agent reloadagent /bye"
@@ -15,9 +19,9 @@ if status is-interactive
set -gx SAVEHIST 10000
# default editor
- set -gx EDITOR hx
+ set -gx EDITOR emacsclient
set -gx ALTERNATE_EDITOR nano
- set -gx VISUAL hx
+ set -gx VISUAL emacsclient
# gnupg
set -gx GPG_TTY (tty)
@@ -32,10 +36,26 @@ set -gx PATH $HOME/bin $PATH
# pager
set -gx PAGER bat
+# go
+set -gx PATH $HOME/go/bin $PATH
+
# grokloc-related
set -gx REPOSITORY_BASE /tmp
set -gx POSTGRES_APP_URL postgres://grokloc:grokloc@localhost:5432/app
+# ui
+starship init fish | source
+
# perl vars
set -gx PERL_UNICODE AS
set -gx PERL_READLINE_NOWARN yes
+set -gx LOCAL_PERL5 $HOME/perl5
+set -gx PERL5LIB $LOCAL_PERL5/lib/perl5
+
+# perl paths
+set -gx PATH /usr/bin/vendor_perl $PATH
+set -gx PATH /usr/bin/core_perl $PATH
+set -gx PATH $LOCAL_PERL5/bin $PATH
+
+# gerbil
+set -gx PATH /opt/gerbil/bin $PATH
diff --git a/nix/configuration.nix b/nix/configuration.nix
index 569e874..549445d 100644
--- a/nix/configuration.nix
+++ b/nix/configuration.nix
@@ -133,9 +133,9 @@ in
tig
tmux
unstable.bat
+ unstable.deno
unstable.delta
unstable.cargo
- unstable.gerbil
unstable.git
unstable.go
unstable.golangci-lint
@@ -147,6 +147,7 @@ in
unstable.hut
unstable.kitty
unstable.libgcc
+ unstable.nodePackages_latest.typescript-language-server
unstable.passage
unstable.perl
unstable.perl538Packages.CryptX
@@ -154,6 +155,7 @@ in
unstable.perl538Packages.FileSlurper
unstable.rustc
unstable.rust-analyzer
+ unstable.starship
unstable.yubikey-manager
wget
];