Created
September 17, 2020 06:56
-
-
Save numToStr/e800934b5c68d5107dae621dae924365 to your computer and use it in GitHub Desktop.
Revisions
-
numToStr created this gist
Sep 17, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,80 @@ # Source manjaro-zsh-configuration #if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then # source /usr/share/zsh/manjaro-zsh-config #fi # Use manjaro zsh prompt #if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then # source /usr/share/zsh/manjaro-zsh-prompt #fi [[ -d ~/.zplug ]] || { git clone https://github.com/zplug/zplug.git ~/.zplug source ~/.zplug/init.zsh } source ~/.zplug/init.zsh # FIXES: command not found in path i.e starship export PATH=$PATH:$ZPLUG_BIN # Globals export EDITOR='nvim' export PAGER='bat' export DOCKER_BUILDKIT=1 export COMPOSE_DOCKER_CLI_BUILD=1 # Aliases alias vim=$(which nvim) alias ..="cd .." alias ...="cd ..." # Ohmyzsh variables ZSH_TMUX_FIXTERM=true ZSH_TMUX_AUTOSTART=true ZSH_TMUX_AUTOCONNECT=true # Set the priority when loading # e.g., fast-syntax-highlighting must be loaded # after executing compinit command and sourcing other plugins # (If the defer tag is given 2 or above, run after compinit command) zplug "zdharma/fast-syntax-highlighting", defer:2 zplug "zsh-users/zsh-autosuggestions", defer:2 zplug "zsh-users/zsh-history-substring-search", defer:2 zplug "zsh-users/zsh-completions" # Installing ohmyzsh # zplug 'ohmyzsh/ohmyzsh', use:"lib/*" zplug "lib/clipboard", from:oh-my-zsh zplug "lib/directories", from:oh-my-zsh zplug "lib/git", from:oh-my-zsh zplug "lib/grep", from:oh-my-zsh zplug "lib/history", from:oh-my-zsh zplug "lib/spectrum", from:oh-my-zsh zplug "lib/termsupport", from:oh-my-zsh # Supports oh-my-zsh plugins and the like zplug "plugins/git", from:oh-my-zsh zplug "plugins/z", from:oh-my-zsh zplug "plugins/fzf", from:oh-my-zsh zplug "plugins/tmux", from:oh-my-zsh zplug "starship/starship", from:gh-r, as:command, use:"*x86_64-unknown-linux*" # zplug check returns true if the given repository exists if zplug check starship/starship; then # setting propmpt, if starship is available eval $(starship init zsh) fi # Install plugins if there are plugins that have not been installed if ! zplug check --verbose; then printf "Install? [y/N]: " if read -q; then echo; zplug install fi fi # Then, source plugins and add commands to $PATH # zplug load --verbose zplug load