Skip to content

Commit 03c5777

Browse files
committed
Move aliases to all shells
1 parent 8488563 commit 03c5777

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

File renamed without changes.

home/dot_bashrc.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
source {{ joinPath .chezmoi.sourceDir "lib" "common" "functions.sh" | quote }}
22

3-
add_to_path "$HOME/bin"
3+
add_to_path_always "$HOME/bin"
44

55
export CLICOLOR="on"
66
export PS1="\u@\h:\e[0;34m\w\e[m\n\$ "
77

8-
source_if_exists ".bash_aliases"
8+
source_if_exists ".aliases"
99

1010
export JAVA_HOME="$(/usr/libexec/java_home -v 1.8.0)"
1111

home/dot_zprofile.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source {{ joinPath .chezmoi.sourceDir "lib" "common" "functions.sh" | quote }}
22

3-
add_to_path "$HOME/Library/Python/3.9/bin"
4-
add_to_path "$HOME/.local/bin"
3+
add_to_path_always "$HOME/Library/Python/3.9/bin"
4+
add_to_path_always "$HOME/.local/bin"
55
add_to_path "${KREW_ROOT:-$HOME/.krew}/bin"

home/dot_zshrc.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ export VISUAL="$EDITOR"
104104
# alias zshconfig="mate ~/.zshrc"
105105
# alias ohmyzsh="mate ~/.oh-my-zsh"
106106

107+
source_if_exists .aliases
108+
107109
{{ if $.gui -}}
108110
source_if_exists ".iterm2_shell_integration.zsh"
109111
{{ end -}}

0 commit comments

Comments
 (0)