Giter Club home page Giter Club logo

configs's Introduction

Configs

My linux cli workspace configurations (e.g. dot files, useful snippets, color schemes, etc.).

Bootstrap

If you want a one-step-setup to reproduce my current workspace, there is a bootstrap procedure.

NOTE: This procedure may mess up your current environment. Please refer to justfile for more information.

Prerequisites

  • make (or just)
  • conda properly initialized for your current shell

Fonts

You have to use a Nerd Font patched font to correctly show the icons.

I am using FiraCodeNF for normal text and SourceCodeProNF for italic text.

If your terminal (e.g. Windows Terminal) does not allow seperated font settings for normal and italic text, consider use fira-code-italic-fallback, which is called FiraCodeNF-MediumItalic but is actually slightly-tweaked SourceCodeProNF-MediumItalic.

I am using JetBrainsMono Nerd Font now.

Setup

make bootstrap

This would automatically configure zsh, nvim and tmux, as well as install some binaries via conda (see app.yaml).

zsh, nvim and tmux will automatically complete their post-configurations upon their first execution.

NOTE: These post-configurations need more prerequisites, which are auto-installed before and properly configured in zshenv. Thus it is recommended to first enter zsh and use tmux and nvim from there. The locations of auto-installed binaries (including zsh, nvim and tmux) are not in $PATH by default. If you wish to use them in another shell (e.g. bash), please refer to the "mungle PATH" part of zshenv.

You may need to setup the login shell yourself if it was not zsh.

If you wish to change the login shell to the auto-installed zsh but don't have the permission to modify /etc/shells, consider use this trick:

# At the end of ~/.bash_profile
# Be careful, this is kinda dangerous
exec ~/.conda/envs/app/bin/zsh

configs's People

Contributors

lljbash avatar gong-air avatar

Stargazers

 avatar  avatar lc shen avatar Fabulous_Arcadia avatar

Watchers

 avatar

Forkers

coolkbh gong-air

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.