Change zsh configs

deleted the symlinks and changed some paths
This commit is contained in:
Uttarayan Mondal
2021-03-05 20:04:14 +05:30
parent 5449fb50c0
commit c83a41fad6
291 changed files with 88 additions and 316 deletions

View File

@@ -1 +0,0 @@
alias ll='exa -al'

17
config/zsh/aliases Normal file
View File

@@ -0,0 +1,17 @@
alias ll='exa -al'
alias arduino-cli='arduino-cli --config-file $XDG_CONFIG_HOME/arduino15/arduino-cli.yaml'
alias gdb='gdb -nh -x "$XDG_CONFIG_HOME"/gdb/init'
alias nv=nvim
alias v=nvim
alias m=neomutt
alias n=notmuch
alias dotfiles='/usr/bin/git --git-dir=$XDG_DATA_HOME/dotfiles/ --work-tree=$HOME'
alias yarn="yarn --use-yarnrc $XDG_CONFIG_HOME/yarn/yarnrc"
man() {
page=$(/usr/bin/man "$@" | \
col -b)
if ! [ -z "$page" ];then
echo $page | nvim -R -c 'set ft=man nomod nolist' -
fi
}

View File

@@ -1,21 +1,56 @@
# GTK
export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
# Notmuch
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc
export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug
# Less
export LESSKEY="$XDG_CONFIG_HOME"/less/lesskey
export LESSHISTFILE="$XDG_CACHE_HOME"/less/history
# Rust
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
export CARGO_HOME="$XDG_DATA_HOME"/cargo
# Android
export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android
export ADB_VENDOR_KEY="$XDG_CONFIG_HOME"/android
export ANDROID_PREFS_ROOT="$XDG_CONFIG_HOME"/android
export ADB_KEYS_PATH="$ANDROID_PREFS_ROOT"
export ANDROID_EMULATOR_HOME="$XDG_DATA_HOME"/android/emulator
# Node
export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
export npm_config_prefix=$XDG_DATA_HOME/node_modules
# Wine
export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default
export CARGO_HOME="$XDG_DATA_HOME"/cargo
# Java
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
# Python
export PYLINTHOME="$XDG_CACHE_HOME"/pylint
export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
# export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
export npm_config_prefix=$XDG_DATA_HOME/node_modules
export PYTHONSTARTUP="$XDG_CONFIG_HOME"/python/startup.py
# export XAUTHORITY="$XDG_RUNTIME_DIR"/xauthority
export gnome_user_dir="$XDG_CONFIG_HOME"/gnome/apps
export ANDROID_PREFS_ROOT="$XDG_CONFIG_HOME"/android
export ANDROID_EMULATOR_HOME="$XDG_DATA_HOME"/android/emulator
# LaTeX
export TEXMFHOME=$XDG_DATA_HOME/texmf
export TEXMFVAR=$XDG_CACHE_HOME/texlive/texmf-var
export TEXMFCONFIG=$XDG_CONFIG_HOME/texlive/texmf-config
# Ruby gems
export GEM_HOME="$XDG_DATA_HOME"/gem
export GEM_SPEC_CACHE="$XDG_CACHE_HOME"/gem
export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME"/bundle BUNDLE_USER_CACHE="$XDG_CACHE_HOME"/bundle BUNDLE_USER_PLUGIN="$XDG_DATA_HOME"/bundle
# Pass
export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
# GPG
export GPG_TTY=$(tty)

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/adb

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/alias-finder

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/ansible

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/ant

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/apache2-macports

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/arcanist

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/archlinux

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/asdf

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/autoenv

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/autojump

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/autopep8

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/aws

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/battery

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/bbedit

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/bgnotify

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/boot2docker

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/bower

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/branch

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/brew

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/bundler

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/cabal

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/cake

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/cakephp3

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/capistrano

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/cargo

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/cask

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/catimg

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/celery

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/chruby

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/chucknorris

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/cloudapp

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/cloudfoundry

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/codeclimate

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/coffee

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/colemak

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/colored-man-pages

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/colorize

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/command-not-found

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/common-aliases

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/compleat

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/composer

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/copybuffer

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/copydir

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/copyfile

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/cp

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/cpanm

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/dash

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/debian

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/dircycle

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/direnv

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/dirhistory

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/dirpersist

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/django

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/dnf

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/dnote

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/docker

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/docker-compose

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/docker-machine

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/doctl

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/dotenv

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/dotnet

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/droplr

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/drush

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/eecms

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/emacs

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/ember-cli

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/emoji

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/emoji-clock

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/emotty

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/encode64

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/extract

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/fabric

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/fancy-ctrl-z

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/fasd

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/fastfile

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/fbterm

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/fd

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/fedora

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/firewalld

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/flutter

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/forklift

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/fossil

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/frontend-search

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/fzf

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/gas

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/gatsby

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/gb

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/gcloud

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/geeknote

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/gem

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/git

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/git-auto-fetch

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/git-escape-magic

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/git-extras

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/git-flow

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/git-flow-avh

View File

@@ -1 +0,0 @@
/usr/share/oh-my-zsh/plugins/git-hubflow

Some files were not shown because too many files have changed in this diff Show More