mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
added xdg environment variables to fish & npm env variable to fish & zsh
This commit is contained in:
parent
8a375478f4
commit
b37265eb1f
@ -89,6 +89,24 @@ set -xg RUSTUP_HOME ~/.local/share/rustup
|
|||||||
# Golang
|
# Golang
|
||||||
set -xg GOPATH ~/.local/share/go
|
set -xg GOPATH ~/.local/share/go
|
||||||
|
|
||||||
|
# System
|
||||||
|
set -xg XDG_DATA_DIRS /usr/share /usr/local/share
|
||||||
|
set -xg XDG_CONFIG_DIRS /etc/xdg
|
||||||
|
|
||||||
|
# User
|
||||||
|
set -xg XDG_CACHE_HOME $HOME/.cache
|
||||||
|
set -xg XDG_CONFIG_HOME $HOME/.config
|
||||||
|
set -xg XDG_DATA_HOME $HOME/.local/share
|
||||||
|
set -xg XDG_DESKTOP_DIR $HOME/Desktop
|
||||||
|
set -xg XDG_DOWNLOAD_DIR $HOME/Downloads
|
||||||
|
set -xg XDG_DOCUMENTS_DIR $HOME/Documents
|
||||||
|
set -xg XDG_MUSIC_DIR $HOME/Music
|
||||||
|
set -xg XDG_PICTURES_DIR $HOME/Pictures
|
||||||
|
set -xg XDG_VIDEOS_DIR $HOME/Videos
|
||||||
|
|
||||||
|
# Npm
|
||||||
|
set -xg NPM_CONFIG_USERCONFIG $XDG_CONFIG_HOME/npm/npmrc
|
||||||
|
|
||||||
# nvim alias
|
# nvim alias
|
||||||
abbr --add v 'nvim'
|
abbr --add v 'nvim'
|
||||||
abbr --add sv 'sudo nvim'
|
abbr --add sv 'sudo nvim'
|
||||||
|
@ -59,6 +59,9 @@ export RUSTUP_HOME=~/.local/share/rustup
|
|||||||
# Golang
|
# Golang
|
||||||
export GOPATH=~/.local/share/go
|
export GOPATH=~/.local/share/go
|
||||||
|
|
||||||
|
# Npm
|
||||||
|
export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
|
||||||
|
|
||||||
# Enable icons in lf
|
# Enable icons in lf
|
||||||
export LF_ICONS="\
|
export LF_ICONS="\
|
||||||
tw=:\
|
tw=:\
|
||||||
|
Loading…
Reference in New Issue
Block a user