Dotfiles
Dotfiles are configuration files for various applications. The dotfiles in this guide are primarily meant to be installed on Ubuntu alongside Zsh and Oh My Zsh. However, the installation process may work on other operating systems (e.g., Windows and macOS).
Installation
Clone Repository
Clone dotfiles repository into the ~/.config
directory.
cd ~/.configgit clone https://github.com/jcp/dotfiles.git
info
The dotfiles repository can be cloned into any directory. install.sh will create symlinks for each dotfile in the $HOME
directory.
Install
Execute install.sh
script and proceed through the prompts.
cd dotfileschmod +x install.sh./install.sh
dconf
caution
Install Zsh and Oh My Zsh before you run install.sh
.
Aliases
After installation, the following aliases are supported.
File System
Alias | Description | Command |
---|---|---|
c | Open directory in Visual Studio Code. | code . |
d, dev | Change directory to ~/Development . | cd ~/Development |
dl | Change directory to ~/Development . | cd ~/Downloads |
doc | Change directory to ~/Documents . | cd ~/Documents |
dotfiles | Change directory to ~/.config/dotfiles . | cd ~/.config/dotfiles |
ls, l | Enhance ls results with exa . | exa -alh --group-directories-first --classify |
Applications
Alias | Description | Command |
---|---|---|
down | Split window down. | tilix -a session-add-down |
right | Split window right. | tilix -a session-add-right |
Scripts
Alias | Description | Command |
---|---|---|
develop | Copy development dotfiles to active directory. | bash ~/.config/dotfiles/develop.sh |