Giter VIP home page Giter VIP logo

dotfiles's Introduction

dotfiles

Managed by cute-dot.zsh, a 20 lines, configuration-based, tiny dotfile manager.

License

MIT

dotfiles's People

Contributors

quarticcat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dotfiles's Issues

感谢作者blog优质的内容 顺便请教一下XDG规范目录的问题

这两天刚好入坑XDG规范目录.
刚好在重新配置zsh.
Google到作者的blog, 谢谢分享. 干货满满~

请问

$HOME, 创建.zshenv 并且配置XDG规范目录变量.

export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_DATA_DIRS="/usr/local/share"
export XDG_CONFIG_DIRS="/etc/xdg"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"

这与配置在/etc/zsh/zshen/etc/security/pam_env.conf 有什么较大的区别吗?
某stackoverflow问答
某superuser问答

不太理解, 望指点.
看了这2个问题, 我认为是使其他程序更好的兼容用户自定义的XDG规范目录.
但是想想好像又不是.. 好像又只是单纯的全局配置例如 /etc/zsh/zshen 或 用户配置$HOME/.zshenv 的区别而已? 有点乱

对了.. 我使用的是ohmyzsh
export ZSH="$XDG_DATA_HOME/oh-my-zsh 是否更建议填写到$HOME/.zshenv, 还是默认老样子在.zshrc填写就行.

再次谢谢, 希望能得到回复. 😊

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.