update dotfiles
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
for dir in /usr/bin /usr/sbin /sbin /bin ~/.bin; do
|
||||
if test -d "$dir" && ! grep -q -e "^${dir}:" -e ":${dir}:" -e ":${dir}" <<< $PATH; then
|
||||
PATH="${dir}:${PATH}"
|
||||
fi
|
||||
done
|
||||
export PATH
|
||||
1
.zsh.d/00-path.zsh
Symbolic link
1
.zsh.d/00-path.zsh
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/snarbutas/.yadm/alt/.zsh.d/00-path.zsh##Linux.epiphanius
|
||||
@@ -1,5 +1,6 @@
|
||||
for dir in ~/.rbenv/bin ~/.rbenv/shims ~/.gem/ruby/*/bin(ocN); do
|
||||
if test -d "$dir"; then
|
||||
export PATH="${PATH}:${dir}"
|
||||
fi
|
||||
done
|
||||
#for dir in ~/.rbenv/bin ~/.rbenv/shims ~/.gem/ruby/*/bin(ocN); do
|
||||
# if test -d "$dir"; then
|
||||
# export PATH="${PATH}:${dir}"
|
||||
# fi
|
||||
#done
|
||||
eval "$(rbenv init -)"
|
||||
|
||||
@@ -4,17 +4,18 @@ else
|
||||
alias ls='ls -F'
|
||||
fi
|
||||
alias ll='ls -ltrh'
|
||||
alias cat='bat'
|
||||
|
||||
if grep --color=auto >&/dev/null; then
|
||||
alias grep='grep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
fi
|
||||
|
||||
if which vim > /dev/null; then
|
||||
alias vi='vim'
|
||||
if which nvim > /dev/null; then
|
||||
alias vi='nvim'
|
||||
fi
|
||||
|
||||
alias find='noglob find'
|
||||
alias git='noglob git'
|
||||
alias history='history -100'
|
||||
alias history='history -2000'
|
||||
alias gssh='gcloud compute ssh --ssh-flag "-J shd-gcp-jump-001.bolcom.net"'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if [[ "$TERM" == screen-256color ]] || [[ -n "$TMUX" ]]; then
|
||||
if [[ "$TERM" == screen-256color ]] || [[ -n "$TMUX" ]] || [[ "${TERM_PROGRAM}" == "code" ]]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
@@ -9,4 +9,4 @@ if tmux list-sessions && (tmux list-sessions | test -n "$0"); then
|
||||
tmux attach-session -t $session_id \; set-option destroy-unattached
|
||||
else
|
||||
tmux new-session -s base
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user