Skip to content

Instantly share code, notes, and snippets.

@logcat
Created October 18, 2022 15:05
Show Gist options
  • Save logcat/c3e88cea18974b6853de2c1c05e4d9e5 to your computer and use it in GitHub Desktop.
Save logcat/c3e88cea18974b6853de2c1c05e4d9e5 to your computer and use it in GitHub Desktop.
if [[ "$TERM_PROGRAM" == 'vscode' ]]; then
alias 'rg'='rg --smart-case --hidden --no-heading --column'
else
alias 'rg'='rg --smart-case --hidden'
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment