/dotfiles

my personal dotfiles

Primary LanguageShell

ngt-zdotfiles

Documentation

This repository provides my dotfiles. After using BASH for years, I've switched to ZSH now. I think it's a good time to get rid of all the stuff cluttering my shell for years :)

ps. I store every link or information about dotfiles in this README.md too. Maybe I add more functionality later...

Please DO NOT USE this dotfiles unless you know what you are doing !!

Installation

Open the terminal application and paste the following commands:

cd $HOME
git clone git@github.com:nmngt/dotfiles.git .dotfiles

echo "ZDOTDIR=$HOME/.ngt/dotfiles" >> .zshenv
echo "source $ZDOTDIR/.zshenv" >> .zsnenv

Usage

After following installation my .dotfiles would be loaded within your .zshenv and .zshrc

ZSH Startup/Shutdown files

the zsh man pages under STARTUP/SHUTDOWN FILES section say:

Commands  are  first  read from /etc/zshenv this cannot be overridden.
Subsequent behaviour is modified by the RCS and GLOBAL_RCS options; the
former  affects all startup files, while the second only affects global
startup files (those shown here with an path starting with  a  /).   If
one  of  the  options  is  unset  at  any point, any subsequent startup
file(s) of the corresponding type will not be read.  It is also  possi-
ble  for  a  file  in  $ZDOTDIR  to  re-enable GLOBAL_RCS. Both RCS and
GLOBAL_RCS are set by default.

Commands are then read from $ZDOTDIR/.zshenv.  If the shell is a  login
shell,  commands  are  read from /etc/zprofile and then $ZDOTDIR/.zpro-
file.  Then, if the  shell  is  interactive,  commands  are  read  from
/etc/zshrc  and then $ZDOTDIR/.zshrc.  Finally, if the shell is a login
shell, /etc/zlogin and $ZDOTDIR/.zlogin are read.

/etc/zshenv    # Read for every shell
~/.zshenv      # Read for every shell except ones started with -f
/etc/zprofile  # Global config for login shells, read before zshrc
~/.zprofile    # User config for login shells
/etc/zshrc     # Global config for interactive shells
~/.zshrc       # User config for interactive shells
/etc/zlogin    # Global config for login shells, read after zshrc
~/.zlogin      # User config for login shells
~/.zlogout     # User config for login shells, read upon logout
/etc/zlogout   # Global config for login shells, read after user logout file

More Links & Infos, etc...

more command line infos & examples

ZSH PlugIns

Service-related

MacOS-related

Development Helper

PHP related

CLI Helper

Application related

Online Services related helpers

Scripting Helper

other usefull shell tools

Unix porn

Follow this subred or watch some cli videos on commandlinepoweruser.com or read zsh-lovers

Security

If you discover any security related issues, please email norm@ngeorg.com or use the issue tracker.