chore(zshrc): move linux-only vars to dotfiles linux.zshrc - #84
Merged
Merged
Conversation
GDK_SCALE and the linuxbrew PATH entry were being set unconditionally in the cross-platform profile. Both are Linux-only concerns; the linuxbrew path was already duplicated in ~/.mrsauravsahu/dotfiles/linux.zshrc (sourced only when currentOs=linux), so it just needed removing here. GDK_SCALE was added there. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
mrsauravsahu
marked this pull request as ready for review
August 9, 2026 07:32
2 tasks
mrsauravsahu
added a commit
to mrsauravsahu/dotfiles
that referenced
this pull request
Aug 9, 2026
Companion to mrsauravsahu/cli-config#84, which removed this from the cross-platform base .zshrc since it's a Linux/GTK-only concern. Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GDK_SCALE=2and the linuxbrewPATH_PREFIXentry inprofiles/mrsauravsahu/.zshrcwere Linux-only concerns living in the cross-platform base profile.~/.mrsauravsahu/dotfiles/linux.zshrc(that file is already sourced only whencurrentOs=linux, via the existing. ${HOME}/.mrsauravsahu/dotfiles/${currentOs}.zshrcline), so it just needed deleting here.GDK_SCALEwas moved into~/.mrsauravsahu/dotfiles/linux.zshrc(a separate, personal dotfiles repo, not part of this PR's diff).Note on the stash
The stashed WIP (
stash@{0}) adds a WSL-specificopen()function to this same file.linux.zshrcalready defines its ownopen()for native Ubuntu/GNOME (env open ...). Per your instruction, I left that conflict alone rather than merging — the stash is still sitting untouched in the main working copy for you to resolve (e.g. gate on$WSL_DISTRO_NAME).Test plan
zsh -n profiles/mrsauravsahu/.zshrc(syntax check)GDK_SCALEand linuxbrew's PATH entry are still present vialinux.zshrc