1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Ryan Kes
4d9110a51c get weather for Amsterdam 2020-09-11 10:24:55 +02:00
Ryan Kes
b37265eb1f added xdg environment variables to fish & npm env variable to fish & zsh 2020-09-11 00:51:07 +02:00
3 changed files with 22 additions and 1 deletions

View File

@ -89,6 +89,24 @@ set -xg RUSTUP_HOME ~/.local/share/rustup
# Golang
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
abbr --add v 'nvim'
abbr --add sv 'sudo nvim'

View File

@ -1,3 +1,3 @@
#!/usr/bin/env sh
curl --silent "https://wttr.in/?format=2" | sed 's///g'
curl --silent "https://wttr.in/amsterdam?format=2" | sed 's///g'

View File

@ -59,6 +59,9 @@ export RUSTUP_HOME=~/.local/share/rustup
# Golang
export GOPATH=~/.local/share/go
# Npm
export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
# Enable icons in lf
export LF_ICONS="\
tw=:\