mirror of
https://github.com/0x5eal/luau-unzip.git
synced 2025-04-10 17:20:53 +01:00
chore(nix): remove shellHook
and use bash shell
This commit is contained in:
parent
1df9631fa3
commit
3afd58186c
1 changed files with 0 additions and 43 deletions
43
dev.nix
43
dev.nix
|
@ -42,48 +42,5 @@ pkgs.mkShell {
|
||||||
(buildDerivation "unzip" "6.0-28" "s9lSnDQ4LMjS5syCmaGFNlBO28KEuRM/++UicEhlBo4=" pkgs.bzip2)
|
(buildDerivation "unzip" "6.0-28" "s9lSnDQ4LMjS5syCmaGFNlBO28KEuRM/++UicEhlBo4=" pkgs.bzip2)
|
||||||
(buildDerivation "zip" "3.0-14" "0vsh9c5wfbwsx1r1b5mkfxj5vy1xqv0wbj2i93jysyb7x1c3pq8n" pkgs.zlib)
|
(buildDerivation "zip" "3.0-14" "0vsh9c5wfbwsx1r1b5mkfxj5vy1xqv0wbj2i93jysyb7x1c3pq8n" pkgs.zlib)
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
|
||||||
export SHELL=${pkgs.fish}/bin/fish
|
|
||||||
exec ${pkgs.fish}/bin/fish
|
|
||||||
|
|
||||||
# Use a default fish config if not already setup
|
|
||||||
if [ ! -f ~/.config/fish/config.fish ]; then
|
|
||||||
## FISH INIT START ##
|
|
||||||
# Don't do anything if not running interactively
|
|
||||||
if not status --is-interactive
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
# Set history options
|
|
||||||
set -g fish_history_ignore_dups 1 # Don't put duplicate lines in history
|
|
||||||
set -g fish_history_ignore_space 1 # Don't put lines starting with space in history
|
|
||||||
set -g fish_history_size 2000 # Set history size
|
|
||||||
set -g fish_save_history 1 # Append to the history file
|
|
||||||
|
|
||||||
# Set the terminal title if in xterm or rxvt
|
|
||||||
if test "$TERM" = "xterm" -o "$TERM" = "rxvt"
|
|
||||||
function fish_title
|
|
||||||
echo -ne "\033]0;$USER@$HOSTNAME: $PWD\007"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Enable color support for ls and set aliases
|
|
||||||
if test -x /usr/bin/dircolors
|
|
||||||
if test -r ~/.dircolors
|
|
||||||
set -l dircolors_output (dircolors -b ~/.dircolors)
|
|
||||||
else
|
|
||||||
set -l dircolors_output (dircolors -b)
|
|
||||||
end
|
|
||||||
# Now, set the environment variables based on the output
|
|
||||||
for line in $dircolors_output
|
|
||||||
set -gx $line
|
|
||||||
end
|
|
||||||
end
|
|
||||||
## FISH INIT END ##
|
|
||||||
fi
|
|
||||||
|
|
||||||
set PATH "$PATH:$HOME/.pesde/bin"
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue