Git Product home page Git Product logo

dotfiles's Introduction

dotfiles

Minimalistic dotfiles.

1. Stack

2. Getting started

Install dependcies, clone repo, and install dotfiles. For an uninteractive terminal, use option -f, ./dotfiles/install.sh -f

Requirements

If requirements are not installed, install requirements using your package manager

2.1. Ubuntu/Debian

For ubuntu/debian, use package manager apt

1.) Install packages

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install -y zsh fzf ripgrep fd-find bat rsync git curl wget

2.) Link fdfind to fd

ln -s $(which fdfind) /usr/bin/fd 

3.) Install bat extras

    BAT_EXTRAS_PATH="${XDG_DATA_HOME:-$HOME/.local/share}/bat-extras"

    git clone https://github.com/eth-p/bat-extras "$BAT_EXTRAS_PATH"

    "$BAT_EXTRAS_PATH/build.sh" --install

4.) Clone repo

git clone https://github.com/curol/dotfiles ~/dotfiles

5.) Install dotfiles

./dotfiles/install.sh

For an uninteractive terminal, use option -f

 ./dotfiles/install.sh -f

2.2. Mac

For mac, use package manager brew

1.) Install packages

brew install fzf ripgrep fd-find bat rsync git zsh curl wget eth-p/software/bat-extras

2.) Clone repo

git clone https://github.com/curol/dotfiles ~/dotfiles

3.) Install dotfiles

./dotfiles/install.sh

3. Dotfiles

.
├── .aliases
├── .exports
├── .p10k.zsh
├── .zprofile
├── .zshenv
├── .zshrc
└── .config
    ├── brew
    │   └── packages.txt
    ├── fzf
    │   ├── completions.zsh
    │   ├── fzf.zsh
    │   └── keybindings.zsh
    ├── iterm2
    │   ├── Default.json
    │   ├── default-and-natural-keybindings.itermkeymap
    │   └── default-keybindings.itermkeymap
    ├── nvim
    │   ├── .gitignore
    │   ├── .neoconf.json
    │   ├── LICENSE
    │   ├── init.lua
    │   ├── stylua.toml
    │   └── lua
    │       ├── config
    │       │   ├── autocmds.lua
    │       │   ├── keymaps.lua
    │       │   ├── lazy.lua
    │       │   └── options.lua
    │       └── plugins
    │           └── example.lua
    └── vscode
        └── js.code-profile

10 directories, 24 files
  • .zshenv - Runs on every new command.

  • .zprofile - Runs only once on an interactive login shell session. Commands in .zprofile should be variables that take some time to complete and/or variables not updated frequently.

  • .zshrc - Runs on every interactive shell session. Commands in .zshrc should be:

    • command completion, correction, suggestion, highlighting

    • aliases

    • key bindings

    • commands history management

    • set any variables that are only used in the interactive shell $LS_COLORS.

  • .aliases - Stores aliases for shell. Current aliases are oppionionated.

  • .exports - Stores shared environment variables for zsh/bash.

  • .p10k.zsh - Config for powerlevel10k terminal prompt.

  • .config - Directory for user-specific configuration files.

dotfiles's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.