mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
feat(console): don't source system-wide bashrc if not exists
This commit is contained in:
parent
b9f06e7727
commit
304993a14e
2 changed files with 6 additions and 2 deletions
2
.bashrc
2
.bashrc
|
|
@ -11,7 +11,9 @@ fi
|
|||
# Startup & environment:2 ends here
|
||||
|
||||
# [[file:Console.org::*Startup & environment][Startup & environment:3]]
|
||||
if [[ -f "/etc/bashrc" ]]; then
|
||||
source /etc/bashrc
|
||||
fi
|
||||
# Startup & environment:3 ends here
|
||||
|
||||
# [[file:Console.org::*Startup & environment][Startup & environment:4]]
|
||||
|
|
|
|||
|
|
@ -250,7 +250,9 @@ fi
|
|||
|
||||
Source the system-wide file
|
||||
#+begin_src bash
|
||||
if [[ -f "/etc/bashrc" ]]; then
|
||||
source /etc/bashrc
|
||||
fi
|
||||
#+end_src
|
||||
|
||||
| Guix dependency |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue