summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 3a99ecc..9f749b3 100644
--- a/.bashrc
+++ b/.bashrc
@@ -44,6 +44,7 @@
PS_BG=0
hc_mode && PS_FG=223 || PS_FG=7
hc_mode && PS_USER_BG=66 || PS_USER_BG=4
+ # Thanks https://github.com/NixOS/nix/issues/9174#issuecomment-2054057401
[ -n "$IN_NIX_SHELL" -o -n "$NIX_GCROOT" ] && {
hc_mode && PS_USER_BG=67 || PS_USER_BG=6;
}
@@ -247,6 +248,10 @@
bind '"\C-l":clear-screen'
+cp() {
+ command cp -p $@
+}
+
if [ -n "$ZSHRC_FUNTOO" ]
then
pre-sync() {