Skip to content

FrederikVK/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles Setup

This repository contains configuration files and setup scripts for a convenient and productive shell environment, primarily using zsh with Oh My Zsh, fzf, and useful plugins.

Contents

  • .zshrc — Main zsh configuration with aliases, functions, and plugin loading.
  • .bashrc — Minimal bash config that switches to zsh and initializes conda.
  • setup_zsh.sh — Automated script to install Oh My Zsh, plugins, fzf, and copy configs.
  • setup_git.sh — Script to interactively set your global Git user name and email.
  • .vscode/settings.json — (Optional) VSCode workspace settings.

Quick Start

  1. Clone this repository:

    git clone <this-repo-url> ~/dotfiles
    cd ~/dotfiles
  2. Run the zsh setup script:

    bash setup_zsh.sh

    This will:

    • Install Oh My Zsh (without changing your default shell)
    • Install/update zsh-autosuggestions and zsh-syntax-highlighting
    • Install/update fzf
    • Copy .zshrc and .bashrc to your home directory
  3. Set up your Git identity:

    bash setup_git.sh
  4. Install miniconda

    bash install_miniconda.sh
  5. Restart your terminal (or run exec zsh) to start using your new environment.

Features

  • Oh My Zsh with the robbyrussell theme
  • fzf for fuzzy searching and history navigation (Ctrl+R)
  • zsh-autosuggestions and zsh-syntax-highlighting for productivity
  • Handy aliases (ll, .., grep, etc.)
  • Functions for:
    • Quick git add/commit/push (gacp "msg")
    • Conda environment activation (act <env>)
    • Publishing conda envs as Jupyter kernels (publish)
  • Sensible history and usability options

Customization

  • Edit .zshrc to add your own aliases or tweak settings.
  • The setup scripts are idempotent and can be re-run safely.

Notes

  • The .bashrc provided simply switches to zsh and initializes conda for compatibility.
  • You may need to adjust the conda path in .bashrc if your installation is not in /path/to/conda.
  • The setup scripts assume a Unix-like environment (Linux/macOS).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages