{"id":19767816,"url":"https://github.com/sarcasm/zuko","last_synced_at":"2026-06-09T06:31:36.361Z","repository":{"id":138545536,"uuid":"49104799","full_name":"Sarcasm/zuko","owner":"Sarcasm","description":"Honorable zsh config","archived":false,"fork":false,"pushed_at":"2017-01-23T21:55:53.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T10:57:34.435Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sarcasm.png","metadata":{"files":{"readme":"README.md","changelog":"history.zsh","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-06T01:51:36.000Z","updated_at":"2020-09-06T13:01:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"4403288e-bf1b-4900-b781-33e0cafee8f5","html_url":"https://github.com/Sarcasm/zuko","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sarcasm/zuko","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sarcasm%2Fzuko","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sarcasm%2Fzuko/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sarcasm%2Fzuko/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sarcasm%2Fzuko/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sarcasm","download_url":"https://codeload.github.com/Sarcasm/zuko/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sarcasm%2Fzuko/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34095243,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T04:32:38.631Z","updated_at":"2026-06-09T06:31:36.335Z","avatar_url":"https://github.com/Sarcasm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Honorable zsh config\n\nTo install, type:\n\n```\ngit clone https://github.com/Sarcasm/zuko.git ~/.config/zuko\ncat \u003c\u003c'EOF' \u003e ~/.zshenv\nZDOTDIR=$HOME/.config/zuko\ntest -e $ZDOTDIR/.zshenv \u0026\u0026 source $ZDOTDIR/.zshenv\nEOF\nchsh -s $(which zsh)\nzsh\n```\n\n# Troubleshooting\n\n## Ubuntu, lightdm does not load .zprofile\n\nI want [my GNU Stow](https://sarcasm.github.io/notes/tools/stow.html) packages to be found,\nand launchable from the Ubuntu Unity desktop.\n\nIssue:\nThe `.zprofile` is not loaded by the login manager lightdm.\n\nMultiple reports:\n- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=250765\n- https://answers.launchpad.net/ubuntu/+question/213018\n\n`lightdm-session` is just a Bash script, that sources some profile files\nbut does not actually start a login shell.\n\nIt loads the following files: `/etc/profile`, `$HOME/.profile`, `/etc/xprofile`,\n`$HOME/.xprofile`.\n\nSince my ZSH configuration has a `.zprofile` which adds some applications to my\n`PATH`, I would like the graphical session to read it.\nWithout this, running a new shell or the graphical 'Run command',\ndoes not show binaries in custom paths.\n\nThe solution I found on Ubuntu 14.04 is to hijack\n`/etc/X11/Xsession.d/99x11-common_start` by adding a similar script\nlexicographically before this one, that loads the session in a login shell:\n\n```\nroot# cat /etc/X11/Xsession.d/99x11-common_start\n# $Id: 99x11-common_start 305 2005-07-03 18:51:43Z dnusinow $\n\n# This file is sourced by Xsession(5), not executed.\n\nexec $STARTUP\n\n# vim:set ai et sts=2 sw=2 tw=80:\nroot# cat \u003c\u003c'EOF' | 1\u003e/dev/null tee /etc/X11/Xsession.d/99x11-00-common_start-sarcasm-login-shell\n# -*-sh-*-\n# This file is sourced by Xsession(5), not executed.\n# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=250765#35\n\n[ -n $SHELL ] \u0026\u0026 exec -l $SHELL -c \"$STARTUP\"\nEOF\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarcasm%2Fzuko","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarcasm%2Fzuko","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarcasm%2Fzuko/lists"}