Skip to content

XSE42/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Editor

Vim

ln -s /[path]/dotfiles/vim/linux/vimrc ~/.vim/vimrc

Neovim

# 1. using `.config`
ln -s /[path]/dotfiles/nvim ~/.config/nvim
# or
cp -r /[path]/dotfiles/nvim ~/.config/nvim

# 2. using $XDG_CONFIG_HOME
ln -s /[path]/dotfiles/nvim $XDG_CONFIG_HOME/nvim
# or
cp -r /[path]/dotfiles/nvim $XDG_CONFIG_HOME/nvim

Shell

Zsh + Oh My Zsh

  • Switch to Zsh

    cat /etc/shells
    chsh -s $(which zsh)
  • Oh My Zsh

    # 1. using `.confg`
    ZSH="$HOME/.config/oh-my-zsh" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    ZSH="$HOME/.config/oh-my-zsh" sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    ZSH="$HOME/.config/oh-my-zsh" sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    
    # 2. using $XDG_CONFIG_HOME
    ZSH="$XDG_CONFIG_HOME/oh-my-zsh" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    ZSH="$XDG_CONFIG_HOME/oh-my-zsh" sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    ZSH="$XDG_CONFIG_HOME/oh-my-zsh" sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  • .zshrc

    cp /[path]/dotfiles/zsh/.zshrc ~
  • Plugins

    • zsh-autosuggestions

      git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
    • zsh-syntax-highlighting

      git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
  • Themes

    • Need Nerd Fonts

    • powerlevel10k

      # install:
      git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
      # update:
      git -C ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k pull

Terminal Emulator

Alacritty

# 1. using `.config`
ln -s /[path]/dotfiles/alacritty ~/.config/alacritty
# or
cp -r /[path]/dotfiles/alacritty ~/.config/alacritty

# 2. using $XDG_CONFIG_HOME
ln -s /[path]/dotfiles/alacritty $XDG_CONFIG_HOME/alacritty
# or
cp -r /[path]/dotfiles/alacritty $XDG_CONFIG_HOME/alacritty

WezTerm

# 1. using `.config`
ln -s /[path]/dotfiles/wezterm ~/.config/wezterm
# or
cp -r /[path]/dotfiles/wezterm ~/.config/wezterm

# 2. using $XDG_CONFIG_HOME
ln -s /[path]/dotfiles/wezterm $XDG_CONFIG_HOME/wezterm
# or
cp -r /[path]/dotfiles/wezterm $XDG_CONFIG_HOME/wezterm

Multiplexer

# 1. using `.confg`
git clone https://github.com/gpakosz/.tmux.git ~/.config/oh-my-tmux
mkdir -p ~/.config/tmux
ln -s ~/.config/oh-my-tmux/.tmux.conf ~/.config/tmux/tmux.conf
ln -s /[path]/dotfiles/tmux/.tmux.conf.local ~/.config/tmux/tmux.conf.local

# 2. using $XDG_CONFIG_HOME
git clone https://github.com/gpakosz/.tmux.git $XDG_CONFIG_HOME/oh-my-tmux
mkdir -p $XDG_CONFIG_HOME/tmux
ln -s $XDG_CONFIG_HOME/oh-my-tmux/.tmux.conf $XDG_CONFIG_HOME/tmux/tmux.conf
ln -s /[path]/dotfiles/tmux/.tmux.conf.local $XDG_CONFIG_HOME/tmux/tmux.conf.local

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published