dotfiles
dotfiles copied to clipboard
:unicorn: My personal dotfiles
Dotfiles
:unicorn: My personal dotfiles
I mainly work with Go, Rust, JavaScript, TypeScript, Markdown and shell scripts so my setup is geared towards working with these technologies.
Supported operating systems are macOS and Arch Linux (and its derivates).

Features and Usage
Terminal
This setup uses a powerful combination of Alacritty, tmux and zsh with a minimalistic prompt.
Commands
pacu: Update and upgrade the whole system (usingBrewfileon macOS andpacmanfileon Arch Linux)depu: Update and upgrade the dependencies for the current projectmkcd: Create a directory and enter itfcd: cd into a directory using fuzzy searchfe: Edit a directory or file using fuzzy searchfco: Checkout Git branches or tags using fuzzy searchfkill: Kill any process with fuzzy searchfshow: Git commit browser with fuzzy search
Text Editor
Text editing is based on Neovim, configured to be an "IDE". The entire setup with all plugins can also be run as a container.
e: Start Neovim with all pluginside: Start Neovim with all plugins in an IDE like window layoutctrl + p: Fuzzy search files across entire workspacectrl + n: Open visual file explorerctrl + s: Open workspace diagnosticsctrl + k: Open symbols outline of file\: Fuzzy search in all files in workspaceK: Show signature of symbol currently under cursorgd: Go to definitiongd: Go to implementationsgr: Go to references<space>e: Show diagnostics details[d: Go to previous diagnostic issued]: Go to next diagnostic issue<space>rn: Rename current symbol<space>ca: Run code actions<space>tf: Run all tests in file<space>tn: Run nearest test to cursor
Installation
-
Clone this repo to
~/dotfilesby runninggit clone [email protected]:cloudlena/dotfiles.git ~/dotfiles -
Change the name and email address in
git/.gitconfig -
Arch Linux only: Change
pacmanfile/.config/pacmanfile/pacmanfile.txtto your liking or addpacmanfile-extra.txtto the same directory for independent packages per machine -
macOS only: Change
Brewfileto your liking or addextra.Brewfilefor independent packages per machine -
macOS only: If you have apps installed which you didn't install through
brewbut that you now added toBrewfile, you need to reinstall them withbrew install <name> --force, sobrewknows it's supposed to manage these apps.Note: This won't delete any of your data. The app will just be reinstalled with
brewand everything will be back to normal once the installation script has run. -
Run
~/dotfiles/install.shWARNING: This may install and/or remove software and change your configs!
-
Either import an existing PGP key pair by using
gpg --import my-key.ascandgpg --import my-key-pub.asc, or create a new one by following the GitHub guide. You need to use the same name and email address as an ID that you have configured ingit/.gitconfigto correctly sign your Git commits. -
Either import an existing SSH key pair by copying it to
~/.ssh/id_rsaand~/.ssh/id_rsa.pubor create a new one by following the GitHub guide.
Quick Installation without customization (not recommended unless you're the owner of this repo :wink:)
-
Run the following command:
WARNING: This may install and/or remove software and change your configs!
$ curl -s https://raw.githubusercontent.com/cloudlena/dotfiles/main/install.sh | sh