1
0
Fork 0

bashrc: add check for interactive shell

This commit is contained in:
Pratham Patel 2024-01-08 11:13:51 +05:30
parent f12101da53
commit e2ddd9f388
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
#!/usr/bin/env bash
# shellcheck disable=SC2139
# only run in an interactive shell
[[ $- == *i* ]] || return
unalias -a
function path_add() {