Page Menu
Home
nazrin ltd
Search
Configure Global Search
Log In
Files
F1157
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/home/features/cli/fish.nix b/home/features/cli/fish.nix
index 3419a13..7726444 100644
--- a/home/features/cli/fish.nix
+++ b/home/features/cli/fish.nix
@@ -1,18 +1,17 @@
{ pkgs, ... }: {
+ home.sessionVariables = {
+ EDITOR = "hx";
+ USER = "lu";
+ SHELL = pkgs.fish;
+ TERM = "xterm-256color";
+ };
+
programs.fish = {
enable = true;
functions = { setpath = "test -e $argv[1]; and fish_add_path $argv[1]"; };
interactiveShellInit = ''
- if test -z "$XDG_RUNTIME_DIR"
- set -x XDG_RUNTIME_DIR "/tmp/$USER-runtime-dir"
- if test ! -e "$XDG_RUNTIME_DIR"
- mkdir "$XDG_RUNTIME_DIR"
- chmod 0700 "$XDG_RUNTIME_DIR"
- end
- end
-
setpath /opt/local/bin
setpath /opt/homebrew/bin
setpath ~/.cargo/bin
@@ -21,11 +20,7 @@
setpath ~/.local/bin
setpath ~/.bun/bin
setpath ~/Projects/Checkouts/arcanist/bin
-
- set -x EDITOR hx
- set -x USER lu
- set -x SHELL (which fish)
- set -x TERM xterm-256color
+ setpath ~/.config/emacs/bin
'';
shellAliases = {
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Oct 1, 6:33 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
950
Default Alt Text
(1 KB)
Attached To
Mode
rLNX nix-config
Attached
Detach File
Event Timeline
Log In to Comment