项目作者: darfink

项目描述 :
.files — my own preferences for Ubuntu and macOS
高级语言: Emacs Lisp
项目地址: git://github.com/darfink/dotfiles.git
创建时间: 2014-10-08T13:28:04Z
项目社区:https://github.com/darfink/dotfiles

开源协议:

下载


Darfink’s dotfiles

These are my dotfiles; to get started run

  1. git clone --recurse-submodules git://github.com/darfink/dotfiles.git ~/.dotfiles

Ensure that GNU stow is installed and
change directory to ~/.dotfiles.

Once you are in the right place, run stow <package> to setup a configuration.

Packages

These are the available package configurations:

  • alacritty - terminal settings.
  • dotbin - utilities and tools.
  • emacs - spacemacs setup.
  • gdb - GDB dashboard.
  • generic - config for curl/dig/dircolors/readline.
  • git - config and aliases.
  • python
  • ruby
  • ssh
  • tmux
  • vim
  • vscode
  • zsh

Operating system

macOS

Ensure you set zsh as the default shell, by adding it to /etc/shells and
executing chsh -s /usr/local/bin/zsh.

The path_helper utility is also troublesome; it uses /etc/zprofile
to set the shell’s $PATH (therefore being invocated after
~/.zshenv), and it prepends to the $PATH instead of appending. To
circumvent this, remove /etc/zprofile and replace it with
/etc/zshenv consisting of the following content:

  1. # Avoid clobbering home
  2. export ZDOTDIR="$HOME/.config/zsh"
  3. # Prevent prepending to $PATH when invoking subshells
  4. if [[ -x /usr/libexec/path_helper && $SHLVL -eq 1 ]]; then
  5. eval `/usr/libexec/path_helper -s`
  6. fi