Skip to content

Repository files navigation

dotfiles

Personal configuration files for bash, vim, and tmux.

What's here

  • bash_profile, bashrc, profile — bash configuration (aliases, toolchain setup for Ruby/NVM/Java/Go/Docker/etc). Shared aliases and shell-tool integrations live in common.sh, sourced by bash_profile and profile.
  • starship/starship.toml — prompt config (see below).
  • vim/vimrc — Vim configuration (Vundle/vim-plug, Dracula theme).
  • tmux/tmux.conf — tmux configuration.
  • welcome-terminal.txt — ASCII banner shown on new terminal sessions.
  • install.sh — symlinks the files above into $HOME for the current OS (macOS/Linux).

Setup

Clone the repo to ~/.dotfiles and run the installer:

git clone https://github.com/cstipkovic/.dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./install.sh

The installer backs up any existing ~/.bashrc, ~/.vimrc, ~/.tmux.conf, ~/.bash_profile, ~/.config/starship.toml, etc. to <file>.bak-<timestamp> before creating the symlinks.

Shell tools

common.sh wires in a few external tools if they're installed (each check is a no-op otherwise, so the shell still works fine without them):

  • starship — prompt, configured via starship/starship.toml
  • fzf — fuzzy history (Ctrl+R), file (Ctrl+T) and directory (Alt+C) search
  • zoxide — smarter cd (z <term>)
  • direnv — per-directory environment variables

Install them with Homebrew: brew install starship fzf zoxide direnv.

Vim plugins

git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim

Or, for vim-plug:

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Plugins used: tpope/vim-markdown, tomasr/molokai, kien/ctrlp.vim, rking/ag.vim.

Secrets

API keys and tokens (e.g. GEMINI_API_KEY, GITHUB_PERSONAL_ACCESS_TOKEN) are not stored in this repo. profile sources ~/.dotfiles/secrets.env if it exists — create that file locally with your own export VAR="value" lines; it's git-ignored.

Welcome banner

figlet -w 200 -f small -k "Zdravo,  Mr.  Stipkovic" > ~/.dotfiles/welcome-terminal.txt

About

dotfiles for Mac OS X and Linux

Resources

Stars

4 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages