modified: clear

This commit is contained in:
Andre Henriques 2023-07-09 18:26:37 +01:00
parent 0af324dc63
commit 67d7b0a9f6
3 changed files with 10 additions and 1 deletions

2
alias.fish Normal file
View File

@ -0,0 +1,2 @@
alias cclear /run/current-system/sw/bin/clear
alias clear "cclear && hyfetch"

View File

@ -79,6 +79,7 @@ end
source ~/.config/fish/completions/bun.fish source ~/.config/fish/completions/bun.fish
source ~/.config/fish/completions/nvm.fish source ~/.config/fish/completions/nvm.fish
source ~/.config/fish/other.fish source ~/.config/fish/other.fish
source ~/.config/fish/alias.fish
# pnpm # pnpm
set -gx PNPM_HOME "/home/andr3/.local/share/pnpm" set -gx PNPM_HOME "/home/andr3/.local/share/pnpm"
@ -93,3 +94,9 @@ alias nshell "nix-shell --run fish"
# opam configuration # opam configuration
source /home/andr3/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true source /home/andr3/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
if ! test $NOT_SAFE
if ! test -n "$IN_NIX_SHELL"
hyfetch
end
end

View File

@ -13,7 +13,7 @@ end
function n14 function n14
export NIXPKGS_ALLOW_INSECURE 1 export NIXPKGS_ALLOW_INSECURE 1
NIXPKGS_ALLOW_INSECURE=1 nixsh nodejs-slim_14 yarn nodePackages.eslint nodePackages.svelte-language-server nodePackages.npm $argv NIXPKGS_ALLOW_INSECURE=1 nixsh nodejs-slim_14 yarn nodePackages.svelte-language-server nodePackages.npm $argv
end end
alias n14dev="n14 --run 'pnpm dev'" alias n14dev="n14 --run 'pnpm dev'"