Last active
July 27, 2020 16:37
-
-
Save jbardon/4607abb746c7151163ddbd946ab2b6ec to your computer and use it in GitHub Desktop.
zsh setup
This file contains 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 characters
Aloxaf/fzf-tab | |
changyuheng/fz | |
# olets/zsh-abbr | |
mattmc3/zsh-safe-rm | |
#> wfxr/forgit | |
zsh-users/zsh-autosuggestions | |
zsh-users/zsh-completions | |
zsh-users/zsh-history-substring-search | |
zsh-users/zsh-syntax-highlighting | |
robbyrussell/oh-my-zsh path:plugins/colored-man-pages | |
#> robbyrussell/oh-my-zsh path:plugins/colorize | |
robbyrussell/oh-my-zsh path:plugins/command-not-found | |
robbyrussell/oh-my-zsh path:plugins/common-aliases | |
#> robbyrussell/oh-my-zsh path:plugins/cp | |
#> robbyrussell/oh-my-zsh path:plugins/dotnet | |
robbyrussell/oh-my-zsh path:plugins/dirhistory | |
robbyrussell/oh-my-zsh path:plugins/fd | |
robbyrussell/oh-my-zsh path:plugins/git | |
#> robbyrussell/oh-my-zsh path:plugins/git-escape-magic | |
#> robbyrussell/oh-my-zsh path:plugins/git-extras | |
#> robbyrussell/oh-my-zsh path:plugins/git-prompt | |
robbyrussell/oh-my-zsh path:plugins/gitfast | |
#> robbyrussell/oh-my-zsh path:plugins/httpie | |
robbyrussell/oh-my-zsh path:plugins/jira | |
robbyrussell/oh-my-zsh path:plugins/last-working-dir | |
robbyrussell/oh-my-zsh path:plugins/ng | |
#> robbyrussell/oh-my-zsh path:plugins/npm | |
#> robbyrussell/oh-my-zsh path:plugins/npx | |
robbyrussell/oh-my-zsh path:plugins/pj | |
robbyrussell/oh-my-zsh path:plugins/safe-paste | |
robbyrussell/oh-my-zsh path:plugins/sudo | |
#> robbyrussell/oh-my-zsh path:plugins/thefuck | |
robbyrussell/oh-my-zsh path:plugins/themes | |
robbyrussell/oh-my-zsh path:plugins/yarn | |
robbyrussell/oh-my-zsh path:plugins/z | |
#> andrewferrier/fzf-z (maybe fzf-tab) | |
#> changyuheng/zsh-interactive-cd (maybe fzf-tab) |
This file contains 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 characters
# ln -s /mnt/c /c | |
# jasongin/nvs | |
export LOCALAPPDATA="/mnt/c/Users/jbardon/AppData/Local" | |
source /c/users/jbardon/.bashrc | |
# getantibody/antibody | |
source <(antibody init) | |
antibody bundle < ~/.zsh_plugins.txt | |
# zsh-users/zsh-history-substring-search | |
bindkey '^[[A' history-substring-search-up | |
bindkey '^[[B' history-substring-search-down | |
# junegunn/fzf | |
export FZF_DEFAULT_COMMAND='fd --type f' | |
. /usr/share/doc/fzf/examples/key-bindings.zsh | |
# starship/starship | |
eval "$(starship init zsh)" | |
# alias | |
alias zshrc="vim ~/.zshrc" | |
unalias gr | |
# OM-MY-ZSH with ANITBODY | |
#source <(antibody init) | |
# | |
#export ZSH=$(antibody path robbyrussell/oh-my-zsh) | |
#ZSH_THEME="robbyrussell" | |
#ZSH_DISABLE_COMPFIX=true | |
#DISABLE_AUTO_UPDATE=true | |
# | |
#antibody bundle robbyrussell/oh-my-zsh |
This file contains 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 characters
# fish-shell/fish-shell | |
set fish_greeting | |
# junegunn/fzf | |
export FZF_DEFAULT_COMMAND='fd --type f' | |
# patrickf3139/fzf-fish-integration | |
set --universal fzf_fish_custom_keybindings | |
bind \cf '__fzf_search_current_dir' | |
bind \cg '__fzf_search_git_log' | |
bind \cr '__fzf_search_history' | |
bind \cv '__fzf_search_shell_variables' | |
# starship/starship | |
starship init fish | source |
This file contains 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 characters
brew install fish | |
echo '/usr/local/bin/fish' >> /etc/shells | |
chsh -s `which fish` | |
# Dependencies | |
brew install fzf | |
/usr/local/opt/fzf/install | |
brew instal fd | |
brew install starship | |
# Fisher plugins | |
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish | |
fisher add patrickf3139/fzf-fish-integration | |
fisher add jethrokuan/z | |
https://github.com/joseluisq/gitnow |
This file contains 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 characters
# WSL (for windows users) | |
https://docs.microsoft.com/en-us/windows/wsl/install-win10#install-your-linux-distribution-of-choice | |
sudo apt-get update | |
sudo apt-get upgrade | |
# Zsh | |
sudo apt-get install zsh | |
chsh -s /bin/zsh | |
echo $SHELL | |
# Starship prompt | |
Install: https://www.nerdfonts.com/font-downloads (Hack) | |
curl -fsSL https://starship.rs/install.sh | bash | |
vim ~/.config/starship.toml | |
# Antibody | |
curl -sfL git.io/antibody | sh -s - -b /usr/local/bin (in root `sudo su -`) | |
touch ~/.zsh_plugins.txt | |
# VS code | |
- set integrated terminal font family | |
- https://gist.github.com/berndverst/b6b6972d0ca3d6a569f082f53b777442 | |
# Plugins dependencies | |
sudo apt-get install fzf | |
sudo apt-get install fd-find | |
# Git | |
git config core.autocrlf true | |
# TO CHECK | |
https://github.com/so-fancy/diff-so-fancy | |
https://github.com/sharkdp/bat | |
aliases |
This file contains 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 characters
https://github.com/getantibody/antibody/issues/218 | |
https://github.com/getantibody/antibody/issues/261 | |
https://github.com/starship/starship/discussions/1252 (dirty status) |
This file contains 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 characters
[git_branch] | |
symbol = " " | |
style = "bold fg:#FFD700" | |
[directory] | |
style = "bold fg:#1E90FF" | |
[git_status] | |
stashed = "" | |
[nodejs] | |
symbol = " " | |
style = "green" | |
[package] | |
symbol = " " | |
display_private = true | |
style = "208" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment