dotfiles, just the way Ashwin likes them
Take a look at a good set of references to dot files management here
Clone this repo to your $HOME
cd $HOME
git clone https://github.com/iamashwin99/.ashrc
Now cd into .ashrc
and run the installer:
cd .ashrc && export ASHRC=`pwd` && source install.sh
or manually edit the right rc file (~/.bashrc for bash and ~/.zshrc for zsh) with the following lines:
###### Ashwin's Customizations ######
export ASHRC=/home/karnada/.ashrc # Path to cloned copy
[[ ! -f $ASHRC/ashrc.sh ]] || source $ASHRC/ashrc.sh
or alternatively on a shared machine set it at
###### Ashwin's Customizations ######
export ASHRC=/home/mpsddeb/karnada/.ashrc # Path to cloned copy
alias ashitup="[[ ! -f ${ASHRC}/ashrc.sh ]] || source ${ASHRC}/ashrc.sh"
alias ashwinstmux="tmux -f ${ASHRC}/tmux/tmux.conf"
By default the installer and the rc file assumes that this repo is cloned at ~/.ashrc
if not, maunally edit the env variable $ASHRC
(in terminal and the .ashrc file) to point to the correct installation location.
Further remember to install the pluging from within the various packages:
- tmux:
- inside tmux type
prefix + I
- inside tmux type
mkcd
is a shell funciton that create s direcotry and then cd's into it . eg:
mkcd folderA/folderB
sprungeit
is a shell function to upload a file to http://sprunge.us/ and returns its url. eg:
sprungeit config.log
Auto updates 20% of the times the shell is loaded ( randomly ). can be manually called via the bash function:
updateashrc
- Add zsh configs
- Oh My Zsh + PowerLevel10k
- nvm and node
- tmux powerlevel10k
- Micromamba
- Zoxide
- Antigen
- Install important apps like : tldr, rg, fd, batcat https://github.com/ibraheemdev/modern-unix
- Add git configs
- Save $ASHRC from before installing
- automate config for vscode+tmux