Compare commits
No commits in common. "f360b0af314a78526b2707cbfabd9fc23d9536f9" and "8e488b12b3a8a18d9a5a35af80e8735aa611e0ad" have entirely different histories.
f360b0af31
...
8e488b12b3
4
aliases
4
aliases
@ -1,5 +1,5 @@
|
|||||||
alias e="$EDITOR"
|
alias e="$EDITOR"
|
||||||
alias app="./bin/app"
|
alias app="./bin/app"
|
||||||
|
|
||||||
(( $+commands[bat] )) && alias cat="bat"
|
command -v bat > /dev/null && alias cat="bat"
|
||||||
(( $+commands[exa] )) && alias ls="exa"
|
command -v exa > /dev/null && alias ls="exa"
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
let g:rails_projections = {
|
|
||||||
\ "config/*": { "command": "config" },
|
|
||||||
\ "config/application.rb": { "command": "config" },
|
|
||||||
\ "spec/factories/*_factory.rb": { "command": "factory" },
|
|
||||||
\ "spec/factories/factories.rb": { "command": "factory" },
|
|
||||||
\ "app/javascript/Main.elm": { "command": "elm" },
|
|
||||||
\ "app/javascript/packs/*.elm": { "command": "elm" },
|
|
||||||
\ "app/javascript/packs/*.js": { "command": "pack", "alternate": "app/javascript/packs/{}.spec.js" },
|
|
||||||
\ "app/javascript/packs/*.spec.js": { "command": "packspec", "alternate": "app/javascript/{}.js" },
|
|
||||||
\ "app/javascript/src/*.js": { "command": "pack", "alternate": "app/javascript/src/{}.spec.js" },
|
|
||||||
\ "app/javascript/src/*.spec.js": { "command": "packspec", "alternate": "app/javascript/{}.js" },
|
|
||||||
\ "app/javascript/packs/*.jsx": { "command": "pack" },
|
|
||||||
\ "app/javascript/packs/application.js": { "command": "pack" },
|
|
||||||
\ "app/javascript/*.vue": { "command": "vue", "alternate": "app/javascript/{}.spec.js" },
|
|
||||||
\ "app/javascript/*.spec.js": { "command": "vuespec", "alternate": "app/javascript/{}.vue" },
|
|
||||||
\ "app/javascript/*.css": { "command": "packstylesheet" },
|
|
||||||
\ "app/javascript/*.scss": { "command": "packstylesheet" },
|
|
||||||
\ "app/javascript/*.sass": { "command": "packstylesheet" },
|
|
||||||
\ "app/javascript/*.js": { "command": "packjavascript" },
|
|
||||||
\ "app/javascript/*.coffee": { "command": "packjavascript" },
|
|
||||||
\ "app/decorators/*_decorator.rb": { "command": "decorator" },
|
|
||||||
\ "app/presenters/*.rb": { "command": "presenter" },
|
|
||||||
\ "app/models/concerns/*.rb": { "command": "concern" },
|
|
||||||
\ "app/controllers/concerns/*.rb": { "command": "concern" },
|
|
||||||
\ "features/*.feature": { "command": "feature" },
|
|
||||||
\ "features/support/env.rb": { "command": "feature" },
|
|
||||||
\ "features/step_definitions/*_steps.rb": { "command": "step" },
|
|
||||||
\ "spec/acceptance/*_spec.rb": { "command": "feature" },
|
|
||||||
\ "spec/mailers/previews/*_preview.rb": { "command": "preview" },
|
|
||||||
\ "bin/*": { "command": "bin" },
|
|
||||||
\ "*.md": { "command": "doc" }
|
|
||||||
\}
|
|
5
vimrc
5
vimrc
@ -96,11 +96,6 @@ if filereadable(expand("~/.config/nvim/nerdtree.vimrc"))
|
|||||||
source ~/.config/nvim/nerdtree.vimrc
|
source ~/.config/nvim/nerdtree.vimrc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Projections
|
|
||||||
if filereadable(expand("~/.config/nvim/projections.vimrc"))
|
|
||||||
source ~/.config/nvim/projections.vimrc
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Telescope setup
|
" Telescope setup
|
||||||
if filereadable(expand("~/.config/nvim/telescope.vimrc"))
|
if filereadable(expand("~/.config/nvim/telescope.vimrc"))
|
||||||
source ~/.config/nvim/telescope.vimrc
|
source ~/.config/nvim/telescope.vimrc
|
||||||
|
5
zshenv
5
zshenv
@ -17,10 +17,5 @@ if (( $+commands[ruby] )); then
|
|||||||
[[ -d "$gem_bin_path" ]] && path+=("$gem_bin_path")
|
[[ -d "$gem_bin_path" ]] && path+=("$gem_bin_path")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (( $+commands[fd] )); then
|
|
||||||
export FZF_DEFAULT_COMMAND="fd --type f"
|
|
||||||
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
||||||
[[ -d "$HOME/.rvm/bin" ]] && path+=("$HOME/.rvm/bin")
|
[[ -d "$HOME/.rvm/bin" ]] && path+=("$HOME/.rvm/bin")
|
||||||
|
17
zshrc
17
zshrc
@ -19,7 +19,7 @@ fi
|
|||||||
# 1. starship
|
# 1. starship
|
||||||
# 2. p10k
|
# 2. p10k
|
||||||
# 3. manjaro
|
# 3. manjaro
|
||||||
if (( $+commands[starship] )); then
|
if [[ -n "$(command -v starship)" ]]; then
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
else
|
else
|
||||||
if [[ -s ~/.p10k.zsh ]]; then
|
if [[ -s ~/.p10k.zsh ]]; then
|
||||||
@ -38,26 +38,15 @@ if [[ -s /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh ]];
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Intelligent and fast autojump
|
# Intelligent and fast autojump
|
||||||
if (( $+commands[zoxide] )); then
|
if [[ -n "$(command -v zoxide)" ]]; then
|
||||||
eval "$(zoxide init zsh)"
|
eval "$(zoxide init zsh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cheat my way through the CLI
|
# Cheat my way through the CLI
|
||||||
if (( $+commands[navi] )); then
|
if [[ -n "$(command -v navi)" ]]; then
|
||||||
eval "$(navi widget zsh)"
|
eval "$(navi widget zsh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Use fd for fzf
|
|
||||||
if (( $+commands[fd] )); then
|
|
||||||
_fzf_compgen_path() {
|
|
||||||
fd --hidden --follow --exclude ".git" . "$1"
|
|
||||||
}
|
|
||||||
|
|
||||||
_fzf_compgen_dir() {
|
|
||||||
fd --type d --hidden --follow --exclude ".git" . "$1"
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Custom aliases
|
# Custom aliases
|
||||||
if [[ -s ~/.aliases ]]; then
|
if [[ -s ~/.aliases ]]; then
|
||||||
source ~/.aliases
|
source ~/.aliases
|
||||||
|
Loading…
x
Reference in New Issue
Block a user