Skip to content

quoc9x/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup dotfiles


1. Bash

  • .aliases file (used for Bash)

    • Download:
    curl https://raw.githubusercontent.com/quoc9x/dotfiles/main/.aliases > ~/.aliases
    
  • .bashrc file

    • 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
    

2. ZSH

Install

  • .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)"`
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  • .zshrc file
curl https://raw.githubusercontent.com/quoc9x/dotfiles/main/.zshrc > ~/.zshrc

Uninstall

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

About

My dotfiles =))

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •