Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnerWill committed Aug 21, 2024
2 parents bb24329 + e44b27f commit a423117
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .config/bat/config
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@
# Syntax mappings: map a certain filename pattern to a language.
# Example 1: use the C++ syntax for Arduino .ino files
# Example 2: Use ".gitignore"-style highlighting for ".ignore" files
--map-syntax ".shellfishrc:Bourne Again Shell (bash)"
--map-syntax ".*rc:Bourne Again Shell (bash)"
--map-syntax "*.ino:C++"
--map-syntax ".ignore:Git Ignore"
#
Expand Down
32 changes: 31 additions & 1 deletion .config/zsh/zsh/user/zsh.d/71_vendor_aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,27 @@ if [[ "${commands[shellcheck]}" ]]; then
fi
fi

### [=]==================================[=]
### [~]........... FD / FDFIND
### [=]==================================[=]
if [[ "${commands[fdfind]}" ]]; then
alias fd='fdfind'
fd_cmd="fdfind"
else
if [[ "${commands[fd-find]}" ]]; then
alias fd='fd-find'
fd_cmd="fd-find"
else
fd_cmd="fd"
fi
fi
if [[ "${commands[fd]}" || "${commands[fdfind]}" || "${commands[fd-find]}" ]]; then
alias fd="$fd_cmd --hidden --follow --no-ignore --color always"
unset fd_cmd
else
unset fd_cmd
fi

### [=]==================================[=]
### [~]........... CAT/BAT
### [=]==================================[=]
Expand Down Expand Up @@ -332,8 +353,15 @@ if [[ "${commands[git]}" ]]; then
alias gc="git commit --edit --verbose --status"
alias gs="git status"
alias git-url="git config --local --get remote.origin.url"

if which dotf >/dev/null 2>&1; then
alias dotf_cmd_a='git --git-dir="${DOTFILES}" --work-tree="${DOTFILES}"'
alias dtf=dotf_cmd_a
alias dtfa='dotf_cmd_a add-all'
fi

if [[ "${commands[lazygit]}" ]]; then
alias git-lazy="lazygit"
alias git-lazy="lazygit"
fi
fi

Expand Down Expand Up @@ -586,3 +614,5 @@ if [[ "${commands[dog]}" ]]; then
alias dig='dog'
fi
fi


0 comments on commit a423117

Please sign in to comment.