Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic monorepo-helpers for bash, fish, and zsh #440

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

malfisya
Copy link

Summary

Add basic script to navigate the monorepo

**Summary**

Add basic script to navigate the monorepo
@malfisya
Copy link
Author

I only tested the bash script and the experience wasn't not starightforward. In Solus, I can just symlink the script to ~/.bashrc.d/ and it will just work. In Serpent, I have to copy the /usr/share/defaults/etc/profile to /etc/bashrc and added this line (mimiicking what Solus does in its equivalent file):

if [ -d ~/.bashrc.d ]; then
    for rc in ~/.bashrc.d/*; do
	if [ -f "$rc" ]; then
	    . "$rc"
	fi
    done
    unset rc
fi

I have not tested the zsh and fish script. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant