Added more install libs and nushell env vars
parent
ae23157b3e
commit
4a75c65d48
|
@ -6,6 +6,14 @@
|
|||
$env.GREP_COLORS = 'ms01;04;32'
|
||||
$env.TIMEFMT = "real\t%E\nuser\t%U\nsys\t%S"
|
||||
|
||||
$env.GEM_HOME = "~/.gems"
|
||||
$env.BUN_INSTALL = "~/.bun"
|
||||
$env.ASDF_DIR = "~/.asdf"
|
||||
|
||||
$env.PATH = "~/.gems/bin" | append $env.PATH
|
||||
$env.PATH = "~/.nimble/bin" | append $env.PATH
|
||||
$env.PATH = "~/.bun/bin" | append $env.PATH
|
||||
|
||||
# aliases
|
||||
alias python = python3
|
||||
alias pip = pip3
|
||||
|
@ -932,6 +940,7 @@ $env.config = {
|
|||
}
|
||||
|
||||
source ~/.cache/zoxide/init.nu
|
||||
source ~/.asdf/asdf.nu
|
||||
|
||||
source ./completions/git.nu
|
||||
source ./completions/cargo.nu
|
||||
|
|
17
install.sh
17
install.sh
|
@ -78,8 +78,9 @@ java_install() {
|
|||
|
||||
asdf_plugin() {
|
||||
plugin=$1
|
||||
version="${2:-latest}"
|
||||
asdf plugin add $plugin \
|
||||
repo=$2
|
||||
version="${3:-latest}"
|
||||
asdf plugin add $plugin $repo \
|
||||
&& asdf install $plugin $version \
|
||||
&& asdf global $plugin $version
|
||||
}
|
||||
|
@ -125,8 +126,8 @@ sudo apt update -yqq
|
|||
export PATH=$PATH:/home/$USER/.local/bin
|
||||
|
||||
# Core
|
||||
packages="make cmake xclip coreutils git apt-transport-https ca-certificates curl wget gnupg lsb-release coreutils sed build-essential \
|
||||
libssl-dev libudev-dev lld \
|
||||
packages="make cmake autoconf xclip coreutils git apt-transport-https ca-certificates curl wget gnupg lsb-release coreutils sed build-essential \
|
||||
libssl-dev libudev-dev libyaml-dev libconfig libfontconfig-dev libncurses-dev lld \
|
||||
firefox git python3-pip zsh mpv figlet lolcat sqlitebrowser flatpak nala tmux filezilla \
|
||||
ffmpeg libavcodec-extra ubuntu-restricted-extras \
|
||||
gnome-shell-extensions gnome-tweak-tool gnome-menus gnome-user-share dconf-editor gparted alacarte \
|
||||
|
@ -195,8 +196,12 @@ tar_git_install "btop" "btop.tbz" "aristocratos/btop" "btop-x86_64-linux-musl.tb
|
|||
# asdf
|
||||
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0
|
||||
. ~/.asdf/asdf.sh
|
||||
asdf_plugin nodejs
|
||||
asdf_plugin lua-language-server
|
||||
asdf_plugin erlang "https://github.com/asdf-vm/asdf-erlang"
|
||||
asdf_plugin elixir "https://github.com/asdf-vm/asdf-elixir"
|
||||
asdf_plugin nodejs "https://github.com/asdf-vm/asdf-nodejs"
|
||||
asdf_plugin lua-language-server "https://github.com/bellini666/asdf-lua-language-server"
|
||||
asdf_plugin ruby "https://github.com/asdf-vm/asdf-ruby"
|
||||
asdf_plugin lua "https://github.com/Stratus3D/asdf-lua"
|
||||
|
||||
# npm global installs
|
||||
npm i -g bash-language-server vscode-langservers-extracted pyright prettier sass
|
||||
|
|
Loading…
Reference in New Issue