Slimmed down version of dotfiles edited by rtfpessoa with some changes for personal setup on Mac OS and Ubuntu.
Opinionated dotfile repo that will make your heart sing
- Ubuntu 18.04
- MacOS Catalina
- curl
- ruby (with rake)
- git
To prepare Ubuntu in Dell XPS 15 9570
bash -c "$(curl -fsSL https://raw.githubusercontent.com/JackHack96/dell-xps-9570-ubuntu-respin/master/xps-tweaks.sh)"
To setup the dotfiles
bash -c "`curl -fsSL https://raw.githubusercontent.com/dreigada/dotfiles/master/dotfiles.sh`" -s -c install
The installation directory is
$HOME/.$(whoami)rc
Upgrading is easy.
./dotfiles.sh -c update
- Automated part
./dotfiles.sh -c uninstall
NOTE: This only removes the main shell files symlinked by the installer.
- Manual part
- MacOS
- Uninstall homebrew and all its dependencies
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall | ruby
- Revert Terminal settings
- Revert iTerm settings
- Remove extra keyboard layouts from '$HOME/Library/Keyboard Layouts'
- Uninstall homebrew and all its dependencies
- Ubuntu
- Remove the installed packages
- Check 'install_ubuntu_packages' in Rakefile
- Remove the installed packages
usage: dotfiles.sh -c (install | update | uninstall) [options]
options:
-a ask before execute each step
-u [<URL>] set the url for the origin repository to install
-d [<DEST_PATH>] set the destination directory to install
IMPORTANT: if you change the default directory, you need to set
`DOTFILES` before the shell is loaded
ex: export DOTFILES=/Users/me/.merc
-f force the installation on update
- Just in MacOS
- Homebrew with all the packages on
Brewfile
- Powerline font for MacOS
- iTerm Solarized Colors
- Fixed MacOS keyboard UK layout for external keyboard (tested with Code Keyboard with UK Layout)
- Homebrew with all the packages on
- Both
- Jabba with Java JDK 8 global version setup
- Rbenv with Ruby global version setut
- Nodenv with NodeJS global version setup
- Pyenv with Python global version setup
- Vim mode and bash style
Ctrl-R
for reverse history finder - Tmux with optimized configuration and powerline status
- Git with a nice
.gitconfig
,.gitmessage
and.gitignore
- Fish and Bash powerline themes with git status and rebase state
- Other personal tweaks and aliases
Shells have some default configs inside shells/** that you need to edit before using
If you look in the root folder you will find other configs you can customize
Any suggestions or improvements should be just send a pull request and it will be evaluated.
If you just want to have your own settings fork this project and customize as you wish.