Adds a bunch of fixes.
This commit is contained in:
0
.rc.d/aliases.sh
Normal file → Executable file
0
.rc.d/aliases.sh
Normal file → Executable file
0
.rc.d/cargo.sh
Normal file → Executable file
0
.rc.d/cargo.sh
Normal file → Executable file
2
.rc.d/fzf.sh
Normal file → Executable file
2
.rc.d/fzf.sh
Normal file → Executable file
@@ -11,4 +11,6 @@
|
||||
# To use fzf in Vim, add the following line to your .vimrc:
|
||||
# set rtp+=/opt/homebrew/opt/fzf
|
||||
|
||||
if [ -x "$(which fzf)" ]; then
|
||||
source <(fzf --zsh)
|
||||
fi
|
||||
|
||||
16
.rc.d/fzf.sh.disabled
Executable file
16
.rc.d/fzf.sh.disabled
Executable file
@@ -0,0 +1,16 @@
|
||||
# To set up shell integration, add this to your shell configuration file:
|
||||
# # bash
|
||||
# eval "$(fzf --bash)"
|
||||
|
||||
# # zsh
|
||||
# source <(fzf --zsh)
|
||||
|
||||
# # fish
|
||||
# fzf --fish | source
|
||||
|
||||
# To use fzf in Vim, add the following line to your .vimrc:
|
||||
# set rtp+=/opt/homebrew/opt/fzf
|
||||
|
||||
if [ -x "$(which fzf)" ]; then
|
||||
source <(fzf --zsh)
|
||||
fi
|
||||
0
.rc.d/icu.sh
Normal file → Executable file
0
.rc.d/icu.sh
Normal file → Executable file
0
.rc.d/iterm2.sh
Normal file → Executable file
0
.rc.d/iterm2.sh
Normal file → Executable file
0
.rc.d/ls-colors.sh
Normal file → Executable file
0
.rc.d/ls-colors.sh
Normal file → Executable file
@@ -1,5 +1,5 @@
|
||||
function {
|
||||
$nvm_dir="$HOME/.nvm"
|
||||
local nvm_dir="$HOME/.nvm"
|
||||
|
||||
if [ -d $nvm_dir ]; then
|
||||
[ -s $nvm_dir/nvm.sh ] && \. $nvm_dir/nvm.sh # This loads nvm
|
||||
|
||||
0
.rc.d/qb64.sh
Normal file → Executable file
0
.rc.d/qb64.sh
Normal file → Executable file
2
.rc.d/yarn.sh
Normal file → Executable file
2
.rc.d/yarn.sh
Normal file → Executable file
@@ -1,6 +1,6 @@
|
||||
function {
|
||||
if [[ $(command -v yarn) ]]; then
|
||||
local yarn_path="$(yarn global bin)"
|
||||
$path=($yarn_path $path)
|
||||
path=($yarn_path $path)
|
||||
fi
|
||||
}
|
||||
|
||||
3
.rc.d/zoxide.sh
Normal file → Executable file
3
.rc.d/zoxide.sh
Normal file → Executable file
@@ -1,8 +1,9 @@
|
||||
# TODO: Check if zoxide_path exists.
|
||||
# TODO: Check shell better.
|
||||
# -n $zoxide_path -a -n $zoxide_path
|
||||
function {
|
||||
zoxide_path=$(which zoxide)
|
||||
if [ -n $zoxide_path -a ( $zoxide_path != "zoxide not found" ) ];
|
||||
if [ -n $zoxide_path -a $zoxide_path != "zoxide not found" ]; then
|
||||
if [ "$SHELL" = "/bin/zsh" ]; then
|
||||
eval "$(zoxide init --cmd cd zsh)"
|
||||
fi
|
||||
|
||||
0
.rc.d/zsh-completions.sh
Normal file → Executable file
0
.rc.d/zsh-completions.sh
Normal file → Executable file
Reference in New Issue
Block a user