Skip to content

Commit

Permalink
zfsbootmenu: use symlinks for two useful aliases
Browse files Browse the repository at this point in the history
initcpio + dropbear uses ash as the login shell instead of bash,
short-circuiting the aliases set in root's bashrc.
  • Loading branch information
zdykstra committed Dec 3, 2023
1 parent bcf4afb commit efea0c1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions zfsbootmenu/bin/debug
1 change: 1 addition & 0 deletions zfsbootmenu/bin/zbm
2 changes: 0 additions & 2 deletions zfsbootmenu/install-helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,8 @@ create_zbm_profiles() {
alias clear="tput clear"
alias reset="tput reset"
alias zbm="zfsbootmenu"
alias logs="ztrace"
alias trace="ztrace"
alias debug="ztrace"
alias help="/libexec/zfsbootmenu-help -L recovery-shell"
zdebug "sourced /root/.bashrc" || true
Expand Down

0 comments on commit efea0c1

Please sign in to comment.