50 lines
918 B
Fish
50 lines
918 B
Fish
set RUST "$HOME/.cargo/bin"
|
|
set GOPATH "$HOME/source/go"
|
|
set PYTHON_PATH "$HOME/.local/bin"
|
|
set DENO_PATH "$HOME/.deno/"
|
|
set DOTNET_PATH "$HOME/.dotnet/tools"
|
|
set XDG_CURRENT_DESKTOP sway
|
|
set GRADLE_PATH "/opt/gradle/gradle-8.4"
|
|
set MOZ_ENABLE_WAYLAND 1
|
|
set TERM "xterm-256color"
|
|
|
|
# aliases
|
|
function ls
|
|
command exa --color always $argv
|
|
end
|
|
|
|
function la
|
|
command exa --long --header --all --color always $argv
|
|
end
|
|
|
|
function ll
|
|
command exa --long --header --color always $argv
|
|
end
|
|
|
|
function lg
|
|
command exa --long --header --color always --git $argv
|
|
end
|
|
|
|
function cat
|
|
command bat $argv
|
|
end
|
|
|
|
function less
|
|
command bat $argv
|
|
end
|
|
|
|
function more
|
|
command bat $argv
|
|
end
|
|
|
|
# path
|
|
set PATH "$HOME:$DOTNET_PATH:$DENO_PATH/bin:$RUST:$GOPATH:$PYTHON_PATH:$GRADLE_PATH/bin:$PATH"
|
|
|
|
# editor env
|
|
set EDITOR nvim
|
|
|
|
# bun
|
|
set --export BUN_INSTALL "$HOME/.bun"
|
|
set --export PATH $BUN_INSTALL/bin $PATH
|
|
atuin init fish | source
|