Compare commits

...

3 Commits

Author SHA1 Message Date
Hektor Misplon 7e10a1c39d Add pnpm config 2025-01-02 21:08:12 +01:00
Hektor Misplon 5805c9093f Make 'ag' respect gitignore 2025-01-02 21:07:20 +01:00
Hektor Misplon ec0e06a805 Add git rebase aliases 2025-01-02 21:05:31 +01:00
2 changed files with 11 additions and 1 deletions

10
.bashrc
View File

@ -64,7 +64,7 @@ export XDG_DATA_HOME=$HOME/.local/share
if [ -f "/usr/bin/fzf" ]; then if [ -f "/usr/bin/fzf" ]; then
# Fuzzy finder setup # Fuzzy finder setup
export FZF_COMPLETION_TRIGGER='**' export FZF_COMPLETION_TRIGGER='**'
export FZF_DEFAULT_COMMAND='ag --hidden --skip-vcs-ignores -t -g ""' export FZF_DEFAULT_COMMAND='ag -g ""'
export FZF_DEFAULT_OPTS=" export FZF_DEFAULT_OPTS="
--pointer='❭' --pointer='❭'
--height 10% --height 10%
@ -117,6 +117,14 @@ if [[ -z "${SSH_CONNECTION}" ]]; then
fi fi
# }}} # }}}
# pnpm
export PNPM_HOME="/home/h/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end
# Codi # Codi
# Usage: codi [filetype] [filename] # Usage: codi [filetype] [filename]
codi() { codi() {

View File

@ -26,6 +26,8 @@
alf = "!git config -l | grep alias | cut -c 7- | fzf" alf = "!git config -l | grep alias | cut -c 7- | fzf"
al- = "!git config --local --unset $(git config -l | grep alias | cut --delimiter="=" --fields=1 | fzf)" al- = "!git config --local --unset $(git config -l | grep alias | cut --delimiter="=" --fields=1 | fzf)"
rs = "restore --staged" rs = "restore --staged"
rb = "rebase"
rbi = "rebase -i"
wt = "worktree" wt = "worktree"
[color] [color]