Skip to content

Commit

Permalink
Update setup_linux.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AmineDjeghri authored Feb 23, 2024
1 parent d885946 commit 40a1a1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/unix_workflow/setup_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ install_zsh_oh_my_zsh_and_utilities() {
echo 'alias ls="lsd"' >> ~/.zshrc
exec > /dev/null 2>&1 # to no run & display the output
echo 'alias fz=\'\''selected_dir=$(find $HOME -maxdepth 8 -type d | fzf); [ -n "$selected_dir" ] && cd "$selected_dir"'\''' >> ~/.zshrc
echo 'emulate sh -c "source /etc/profile"' | sudo tee -a /etc/zsh/zprofile
exec 1>/dev/tty 2>&1

echo "${YELLOW} If fz or ctrl+f do not work correctly, copy this command (careful with Apostrophes in the command) : ${RED} emulate sh -c 'source /etc/profile.d/apps-bin-path.sh'${YELLOW} in ${RED}/etc/zsh/zprofile ${RESET}"
Expand Down

0 comments on commit 40a1a1b

Please sign in to comment.