mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-03 06:48:21 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f8987818b8 |
@@ -1,8 +1,8 @@
|
|||||||
# See the docs for explanations: https://asdf-vm.com/manage/configuration.html
|
# See the docs for explanations: https://asdf-vm.com/manage/configuration.html
|
||||||
|
|
||||||
legacy_version_file = yes
|
legacy_version_file=yes
|
||||||
use_release_candidates = no
|
use_release_candidates=no
|
||||||
always_keep_download = no
|
always_keep_download=no
|
||||||
plugin_repository_last_check_duration = 60
|
plugin_repository_last_check_duration=60
|
||||||
disable_plugin_short_name_repository = no
|
disable_plugin_short_name_repository=no
|
||||||
concurrency = auto
|
concurrency=auto
|
||||||
|
|||||||
@@ -2,9 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Install asdf
|
# Install asdf
|
||||||
|
|
||||||
source "${XDG_CONFIG_HOME}/exports"
|
source "${XDG_CONFIG_HOME}/shared"
|
||||||
source "${XDG_CONFIG_HOME}/alias"
|
|
||||||
source "${XDG_CONFIG_HOME}/functions"
|
|
||||||
source "${DOTFILES}/scripts/shared.sh"
|
source "${DOTFILES}/scripts/shared.sh"
|
||||||
|
|
||||||
# Installation variables
|
# Installation variables
|
||||||
@@ -32,7 +30,6 @@ asdf plugin add asdf-plugin-manager https://github.com/asdf-community/asdf-plugi
|
|||||||
asdf install asdf-plugin-manager latest
|
asdf install asdf-plugin-manager latest
|
||||||
asdf global asdf-plugin-manager "$(asdf latest asdf-plugin-manager)"
|
asdf global asdf-plugin-manager "$(asdf latest asdf-plugin-manager)"
|
||||||
asdf-plugin-manager version
|
asdf-plugin-manager version
|
||||||
asdf-plugin-manager export > "${ASDF_PLUGIN_MANAGER_PLUGIN_VERSIONS_FILENAME}"
|
|
||||||
asdf-plugin-manager add-all
|
asdf-plugin-manager add-all
|
||||||
|
|
||||||
asdf install
|
asdf install
|
||||||
|
|||||||
@@ -12,21 +12,11 @@
|
|||||||
|| [[ -n $BASH_VERSION ]] && (return 0 2> /dev/null)
|
|| [[ -n $BASH_VERSION ]] && (return 0 2> /dev/null)
|
||||||
) && sourced=1 || sourced=0
|
) && sourced=1 || sourced=0
|
||||||
|
|
||||||
export DOTFILES="$HOME/.dotfiles"
|
source "$HOME/.dotfiles/config/shared"
|
||||||
|
|
||||||
DOTFILES_CURRENT_SHELL=$(ps -p $$ -oargs=)
|
DOTFILES_CURRENT_SHELL=$(ps -p $$ -oargs=)
|
||||||
export DOTFILES_CURRENT_SHELL
|
export DOTFILES_CURRENT_SHELL
|
||||||
|
|
||||||
# Explicitly set XDG folders
|
|
||||||
# https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
|
||||||
export XDG_DATA_HOME="$HOME/.local/share"
|
|
||||||
export XDG_STATE_HOME="$HOME/.local/state"
|
|
||||||
|
|
||||||
# custom variables
|
|
||||||
export XDG_BIN_HOME="$HOME/.local/bin"
|
|
||||||
export XDG_CACHE_HOME="$HOME/.cache"
|
|
||||||
export XDG_RUNTIME_DIR="$HOME/.local/run"
|
|
||||||
|
|
||||||
# Other variables
|
# Other variables
|
||||||
export OHMYPOSH_CFG="$HOME/.dotfiles/config/omp/own.toml"
|
export OHMYPOSH_CFG="$HOME/.dotfiles/config/omp/own.toml"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user