GithubHelp home page GithubHelp logo

williamdemeo / config_wjd Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 219 KB

various configuration files for my (ubuntu, nix, mac) machines

Emacs Lisp 69.30% Shell 7.55% Pug 0.08% Nix 1.51% HTML 21.57%

config_wjd's Introduction

config_wjd

This is my custom linux configuration file repository. Some of the stuff here is still useful, especially on ubuntu... but now that I'm using nixos, my config setup procedure relies on fewer of these custom dot files. Below describes (a part of) my setup procedure.

TODO: write a setup.sh script that will do a headless nixos/zsh/ohmyzsh/starship/doom custom setup.

Install customized fork of oh-my-zsh

  1. Clone the (custom fork of the) oh-my-zsh repository into the ~/.config directory.

    git clone [email protected]:williamdemeo/ohmyzsh.git ~/.config/oh-my-zsh
  2. Run the oh-my-zsh install script.

    ~/.config/oh-my-zsh/tools/install.sh
  3. Ensure your ZSH_CUSTOM environment variable was set correctly.

    echo $ZSH_CUSTOM

    It should show ~/.config/oh-my-zsh/custom, or similar.

    If not, then probably something went wrong above, but for now you could try to remedy this by invoking

    export ZSH_CUSTOM=~/.config/oh-my-zsh/custom
  4. Add autosuggestions and syntax highlighting plugins.

    git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM}/plugins/zsh-autosuggestions
    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM}/plugins/zsh-syntax-highlighting
  5. Backup your existing ~/.zshrc file and replace it with a link to the custom template.

    cp ~/.zshrc ~/.zshrc.orig
    ln -s ~/.config/oh-my-zsh/templates/zshrc.wjd-template ~/.zshrc
  6. Change your default shell

    chsh -s $(which zsh)

    (You must log out from your user session and log back in to see this change.)

Install a customized fork of doom emacs

git clone --depth 1 [email protected]:williamdemeo/doomemacs.git ~/.config/emacs
~/.config/emacs/bin/doom install
doom sync
doom doctor   # check that everything is okay

Troubleshoting on Mac

For the above to work on Mac, you likely have to install some standard programs.

For example, do some or all of the following, as necessary.

brew install niv gh rg fd shellcheck rlwrap ag
brew install --cask gcs
brew install cmake npm nodejs nvm
brew install nix
nix-env -iA nixpkgs.haskellPackages.hoogle

config_wjd's People

Contributors

williamdemeo avatar

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.