From 07bcb021bcdf71cef93bb9c0dc09e30af6ad2f7d Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Thu, 2 Apr 2020 14:39:30 +0300 Subject: some more cleanup --- dotfiles/.config/zsh/shortcuts | 3 ++- dotfiles/.profile | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'dotfiles') diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts index a47bbba..cf21f0a 100644 --- a/dotfiles/.config/zsh/shortcuts +++ b/dotfiles/.config/zsh/shortcuts @@ -2,10 +2,11 @@ # Some aliases alias v="nvim" -alias abook="abook -C $HOME/.config/abook/abookrc --datafile $HOME/Documents/contacts/addressbook" +alias abook="abook -C $HOME/.config/abook/abookrc --datafile $HOME/docs/contacts/addressbook" alias eslint="./node_modules/.bin/eslint" alias ls="ls -hN --color=auto --group-directories-first" alias tmux="tmux -f $HOME/.config/tmux/tmux.conf" +alias units="units -H ''" weath() { curl wttr.in/$1 ;} # Check the weather (give city or leave blank). corona() { curl https://corona-stats.online/$1 ;} # It's corona time wintitle() { printf "\033]2;%s\a" "$1";} diff --git a/dotfiles/.profile b/dotfiles/.profile index e683745..c35422e 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -22,12 +22,13 @@ export BROWSER=qutebrowser export XDG_CONFIG_HOME="$HOME/.config" export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" -export ZDOTDIR="$HOME/.config/zsh" -export INPUTRC="$HOME/.config/zsh/inputrc" +export ZDOTDIR="$XDG_CONFIG_HOME/zsh" +export INPUTRC="$XDG_CONFIG_HOME/zsh/inputrc" export LESSHISTFILE="-" -export GTK2_RC_FILES="$HOME/.config/gtk-2.0/gtkrc-2.0" +export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0" export CARGO_HOME="$XDG_DATA_HOME/cargo" -export GNUPGNOME="$XDG_DATA_HOME/gnupg" +export RUSTUP_HOME="$XDG_DATA_HOME/rustup" +export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store" eval "$(dircolors "$HOME/.config/dir_colors")" # Start sway automatically upon login on tty1 -- cgit v1.2.3