From 2953db18d96b3bf398ba332885f8d62fd90ad84e Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 27 Jul 2025 10:45:21 -0400 Subject: [PATCH] Reveal a fully .bashrc that provides examples of what to overwrite --- default/bashrc | 14 ++++++++++++++ install/config/config.sh | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 default/bashrc diff --git a/default/bashrc b/default/bashrc new file mode 100644 index 0000000..59c60c8 --- /dev/null +++ b/default/bashrc @@ -0,0 +1,14 @@ +# All the default Omarchy aliases and functions +# (don't mess with these directly, just overwrite them here!) +source ~/.local/share/omarchy/default/bash/rc + +# Add your own exports, aliases, and functions here. +# +# Make an alias for invoking commands you use constantly +# alias p='python' +# +# Use VSCode instead of neovim as your default editor +# export EDITOR="code" +# +# Set a custom prompt with the directory revealed: +# PS1="\W \[\e]0;\w\a\]$PS1" diff --git a/install/config/config.sh b/install/config/config.sh index 3b463ce..4f08303 100644 --- a/install/config/config.sh +++ b/install/config/config.sh @@ -4,7 +4,7 @@ cp -R ~/.local/share/omarchy/config/* ~/.config/ # Use default bashrc from Omarchy -echo "source ~/.local/share/omarchy/default/bash/rc" >~/.bashrc +cp ~/.local/share/omarchy/default/bashrc ~/.bashrc # Ensure application directory exists for update-desktop-database mkdir -p ~/.local/share/applications