-
.aliasesfile (used for Bash)- Download:
curl https://raw.githubusercontent.com/quoc9x/dotfiles/main/.aliases > ~/.aliases -
.bashrcfile- Download:
curl https://raw.githubusercontent.com/quoc9x/dotfiles/main/.bashrc >> ~/.bashrc -
aws-cli-alias- Download:
mkdir -p ~/.aws/cli && curl https://raw.githubusercontent.com/quoc9x/dotfiles/main/.aws/cli/alias > ~/.aws/cli/alias -
complete-alias (complete automatically for subcommand)
- Install
mkdir -p ~/.bash_completion.d && curl https://raw.githubusercontent.com/cykerway/complete-alias/master/complete_alias > ~/.bash_completion.d/complete_alias
.aliases file(used for ZSH)- Download:
curl https://raw.githubusercontent.com/quoc9x/dotfiles/main/.zsh_aliases > ~/.zsh_aliases- Install ZSH and Oh My Zsh
sudo apt install zsh && echo "n" | sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"`
- Install zsh-autosuggestions (Enabling zsh-autosuggestions in
.zshrcfile)
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
.zshrcfile
curl https://raw.githubusercontent.com/quoc9x/dotfiles/main/.zshrc > ~/.zshrc
rm -rf ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions && \
chmod +x ~/.oh-my-zsh/tools/uninstall.sh && \
~/.oh-my-zsh/tools/uninstall.sh && \
sudo apt-get --purge remove zsh && \
rm -rf .zsh* && \
rm -rf .zcompdump*Warning | Monthy update notes
- Change default shell
chsh -s $(which zsh)- change to zsh
chsh -s /bin/bash- change to bash