Configuring Your Shell Environment

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • ohmyzsh

    🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.

  • oh-my-zsh :(as my framework for configuring my shell)

  • alias-tips

    An oh-my-zsh plugin to help remembering those aliases you defined once

  • # Set ZSH_CUSTOM if it's not already (used by our PLUGINS_PATH below) if [ -z $ZSH_CUSTOM ]; then ZSH_CUSTOM="$HOME/.oh-my-zsh/custom" fi # Install additional plugins to this path PLUGINS_PATH="${ZSH_CUSTOM}/plugins" # Define function for installing plugins for use below function install-plugin() { plugin_repo=$1 plugin_name=$2 echo "Downloading Plugin: $plugin_name" echo "Using: $plugin_repo" echo "To: $PLUGINS_PATH/$plugin_name" echo "git clone $plugin_repo $PLUGINS_PATH/$plugin_name" git clone $plugin_repo $PLUGINS_PATH/$plugin_name plugin_list="${plugin_list}$plugin_name " } echo "Installing Plugins..." install-plugin https://github.com/djui/alias-tips alias-tips install-plugin https://github.com/wting/autojump autojump install-plugin https://github.com/TamCore/autoupdate-oh-my-zsh-plugins autoupdate install-plugin https://github.com/zsh-users/zsh-autosuggestions autosuggestions echo "Plugins Installed. Add them by copying th following into your ~/.zshrc plugins=( $plugin_list ) " # For auto jump we must install it using it's own script cd "$PLUGINS_PATH/autojump" ./install.py

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • autojump

    A cd command that learns - easily navigate directories from the command line

  • # Set ZSH_CUSTOM if it's not already (used by our PLUGINS_PATH below) if [ -z $ZSH_CUSTOM ]; then ZSH_CUSTOM="$HOME/.oh-my-zsh/custom" fi # Install additional plugins to this path PLUGINS_PATH="${ZSH_CUSTOM}/plugins" # Define function for installing plugins for use below function install-plugin() { plugin_repo=$1 plugin_name=$2 echo "Downloading Plugin: $plugin_name" echo "Using: $plugin_repo" echo "To: $PLUGINS_PATH/$plugin_name" echo "git clone $plugin_repo $PLUGINS_PATH/$plugin_name" git clone $plugin_repo $PLUGINS_PATH/$plugin_name plugin_list="${plugin_list}$plugin_name " } echo "Installing Plugins..." install-plugin https://github.com/djui/alias-tips alias-tips install-plugin https://github.com/wting/autojump autojump install-plugin https://github.com/TamCore/autoupdate-oh-my-zsh-plugins autoupdate install-plugin https://github.com/zsh-users/zsh-autosuggestions autosuggestions echo "Plugins Installed. Add them by copying th following into your ~/.zshrc plugins=( $plugin_list ) " # For auto jump we must install it using it's own script cd "$PLUGINS_PATH/autojump" ./install.py

  • autoupdate-oh-my-zsh-plugins

    Plugin for oh-my-zsh to automatically update custom-plugins

  • # Set ZSH_CUSTOM if it's not already (used by our PLUGINS_PATH below) if [ -z $ZSH_CUSTOM ]; then ZSH_CUSTOM="$HOME/.oh-my-zsh/custom" fi # Install additional plugins to this path PLUGINS_PATH="${ZSH_CUSTOM}/plugins" # Define function for installing plugins for use below function install-plugin() { plugin_repo=$1 plugin_name=$2 echo "Downloading Plugin: $plugin_name" echo "Using: $plugin_repo" echo "To: $PLUGINS_PATH/$plugin_name" echo "git clone $plugin_repo $PLUGINS_PATH/$plugin_name" git clone $plugin_repo $PLUGINS_PATH/$plugin_name plugin_list="${plugin_list}$plugin_name " } echo "Installing Plugins..." install-plugin https://github.com/djui/alias-tips alias-tips install-plugin https://github.com/wting/autojump autojump install-plugin https://github.com/TamCore/autoupdate-oh-my-zsh-plugins autoupdate install-plugin https://github.com/zsh-users/zsh-autosuggestions autosuggestions echo "Plugins Installed. Add them by copying th following into your ~/.zshrc plugins=( $plugin_list ) " # For auto jump we must install it using it's own script cd "$PLUGINS_PATH/autojump" ./install.py

  • zsh-autosuggestions

    Fish-like autosuggestions for zsh

  • # Set ZSH_CUSTOM if it's not already (used by our PLUGINS_PATH below) if [ -z $ZSH_CUSTOM ]; then ZSH_CUSTOM="$HOME/.oh-my-zsh/custom" fi # Install additional plugins to this path PLUGINS_PATH="${ZSH_CUSTOM}/plugins" # Define function for installing plugins for use below function install-plugin() { plugin_repo=$1 plugin_name=$2 echo "Downloading Plugin: $plugin_name" echo "Using: $plugin_repo" echo "To: $PLUGINS_PATH/$plugin_name" echo "git clone $plugin_repo $PLUGINS_PATH/$plugin_name" git clone $plugin_repo $PLUGINS_PATH/$plugin_name plugin_list="${plugin_list}$plugin_name " } echo "Installing Plugins..." install-plugin https://github.com/djui/alias-tips alias-tips install-plugin https://github.com/wting/autojump autojump install-plugin https://github.com/TamCore/autoupdate-oh-my-zsh-plugins autoupdate install-plugin https://github.com/zsh-users/zsh-autosuggestions autosuggestions echo "Plugins Installed. Add them by copying th following into your ~/.zshrc plugins=( $plugin_list ) " # For auto jump we must install it using it's own script cd "$PLUGINS_PATH/autojump" ./install.py

  • zsh

    Mirror of the Z shell source code repository.

  • zsh :(as my shell)

  • oh-my-zsh

    Discontinued 🙃 A delightful community-driven (with 1700+ contributors) framework for managing your zsh configuration. Includes nearly 300 optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 140 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community. [Moved to: https://github.com/ohmyzsh/ohmyzsh]

  • # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh" export ZSH_CUSTOM="$HOME/.oh-my-zsh/custom" # Set name of the theme to load --- if set to "random", it will # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes # ZSH_THEME="spaceship" # I'm using starhip (see below, where it's configured) # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load # a theme from this variable instead of looking in ~/.oh-my-zsh/themes/ # If set to an empty array, this variable will have no effect. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) # Uncomment the following line to use case-sensitive completion. # CASE_SENSITIVE="true" # Uncomment the following line to use hyphen-insensitive completion. # Case-sensitive completion must be off. _ and - will be interchangeable. HYPHEN_INSENSITIVE="true" # Uncomment the following line to disable bi-weekly auto-update checks. # DISABLE_AUTO_UPDATE="true" # Uncomment the following line to automatically update without prompting. # DISABLE_UPDATE_PROMPT="true" # Uncomment the following line to change how often to auto-update (in days). export UPDATE_ZSH_DAYS=8 # Uncomment the following line if pasting URLs and other text is messed up. # DISABLE_MAGIC_FUNCTIONS=true # Uncomment the following line to disable colors in ls. # DISABLE_LS_COLORS="true" # Uncomment the following line to disable auto-setting terminal title. # DISABLE_AUTO_TITLE="true" # Uncomment the following line to enable command auto-correction. ENABLE_CORRECTION="true" # Uncomment the following line to display red dots whilst waiting for completion. COMPLETION_WAITING_DOTS="true" # Uncomment the following line if you want to disable marking untracked files # under VCS as dirty. This makes repository status check for large repositories # much, much faster. # DISABLE_UNTRACKED_FILES_DIRTY="true" # Uncomment the following line if you want to change the command execution time # stamp shown in the history command output. # You can set one of the optional three formats: # "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" # or set a custom format using the strftime function format specifications, # see 'man strftime' for details. HIST_STAMPS="mm/dd/yyyy" # Would you like to use another custom folder than $ZSH/custom? # ZSH_CUSTOM=/path/to/new-custom-folder # Which plugins would you like to load? # Standard plugins can be found in ~/.oh-my-zsh/plugins/* # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. plugins=( aws # sets up `awscli` tab completion + profile changing commands alias-tips # let's you know when you have an alias you can use autojump # use j to jump to directories containing terms. Directories must be visited first before they can be jumped to. autoupdate # automatically updates custom plugins common-aliases # add tons of aliases like la ll etc git-auto-fetch # automatically "fetches" for new changes of directory you're in git-extras # adds a bunch of helpful git aliases and extra commands gitfast # adds git tab completion git-flow # adds completion for git flow commands node # adds completion for node npm # adds completion/aliases for npm zsh-autosuggestions # adds suggestions as you type zsh-interactive-cd # cd + tab to fuzzy search navigate zsh_reload # adds `src` command for better full compile reload ) # Load Oh My ZSH source $ZSH/oh-my-zsh.sh # autojump config [[ -s $HOME/.autojump/etc/profile.d/autojump.sh ]] && source $HOME/.autojump/etc/profile.d/autojump.sh autoload -U compinit && compinit -u # FZF config export FZF_BASE=~/.fzf export PATH="/usr/local/sbin:$PATH" [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh # zsh-syntax-highlighting source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # broot source $HOME/.config/broot/launcher/bash/br # User configuration export MANPATH="/usr/local/man:$MANPATH" # You may need to manually set your language environment # export LANG=en_US.UTF-8 # Preferred editor for local and remote sessions if [[ -n $SSH_CONNECTION ]]; then export EDITOR='code' else export EDITOR='code' fi # Compilation flags # export ARCHFLAGS="-arch x86_64" # Set personal aliases, overriding those provided by oh-my-zsh libs, # plugins, and themes. Aliases can be placed here, though oh-my-zsh # users are encouraged to define aliases within the ZSH_CUSTOM folder. # For a full list of active aliases, run `alias`. # # Example aliases alias zshconfig="code ~/.zshrc" alias ohmyzsh="code ~/.oh-my-zsh" alias reload="source ~/.zshrc" # My Custom Aliases change alias please="sudo !!" alias tmp="cd ~/Development/tmp" alias proj="cd ~/Projects" alias work="cd ~/Work" alias co.="code ." ### CFG Setup # Alias for the main cfg git # alias cfg='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' # export function cfg { # /usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@ # } # lastly init starship theme eval "$(starship init zsh)"

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • starship

    ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

  • Just run this line to install it: curl -fsSL https://starship.rs/install.sh | bash

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Improve your productivity by using more terminal and less mouse (🚀).

    2 projects | dev.to | 30 Apr 2024
  • ohmyzsh VS atuin - a user suggested alternative

    2 projects | 22 Feb 2024
  • Weird Color Stuff In The Terminal

    3 projects | dev.to | 1 Jan 2024
  • Setup Macbook for Frontend Dev

    2 projects | dev.to | 4 Sep 2023
  • zsh Plugin for navigating files/folders

    2 projects | /r/zsh | 3 Jul 2023