the most important & personnal config files for workflow
To work fine on your terminal, you have to install those:
otherwise it won't work correctly
- Environment ($PATH)
- Aliases (common, Git, ...)
- Bashrc
- .gitconfig file
- Theme (AgnosterZak Oh-My-Zsh Theme)
- Zshrc
AgnosterZak Theme source
Based on Agnoster theme by oh-my-zsh (must install & set one of the powerline fonts to work fine)
added to the prompt:
- Battery life
- Big info display on Git prompt
- has upstream info
- branch or commit info
- number of commits ahead on the upstream
- number of commits behind on the upstream
- number of untracked files
- number of added files from the untracked ones
- number of deleted files
- number of staged files from the deleted ones
- number of modified files
- number of staged files from the modified ones including those renamed
- number of stash stored
- Green background if there is no untracked, deleted or modified files, and no stashes
- Magenta Background if there is no untracked, deleted or modified files, but have stashes
- Yellow background if there is untracked or staged files but no deleted or modified files
- Red background if there is deleted or modified files
Run the enable.sh to copy the dotfiles into ~/bin/dotfiles & create link files to .bashrc, .zshrc & zsh theme
cd <path_to_local_repo>
chmod u+x ./dot-files/enable.sh
./dot-files/enable.sh
Run the update.sh to update the dotfiles into ~/bin/dotfiles & create link files to .bashrc, .zshrc & zsh theme
cd <path_to_local_repo>
chmod u+x ./dot-files/update.sh
./dot-files/update.sh
update_rcs
On the folder ~/bin/dotfiles/common
, you will find the private-aliases
file wich you may store your own private aliases
You can create the file ~/.bashrc.local
or ~/.zshrc.local
to overwrite some configs if your are using Bash
or Zsh
You can create the file ~/.bashrc.path
or ~/.zshrc.path
to overwrite the PATH variable if you are using Bash
or Zsh
This is useful if you need some versions of Ruby
or other things, to be included on the Shell.
The content of the file must look like this:
export PATH="<paths_to_add_separated_by_:>:$PATH"
- Preferences
- Key shortcuts
- Snippets
- Polymer Snippets (HTML & Javascript)
- Init Functions (Javascript)
Run the copy-to-st3.sh to have all the snippets on your Sublime Text 3
cd <path_to_local_repo>
chmod u+x ./sublime-text-3/copy-to-st3.sh
./sublime-text-3/copy-to-st3.sh
The snippet created from Sublime Text 3 must be saved under the folder snippets-zakaria
under the Packages/User
ST3 folder
Run the get-from-st3.sh to have the brand new snippet created from Sublime Text 3
cd <path_to_local_repo>
chmod u+x ./sublime-text-3/get-from-st3.sh
./sublime-text-3/get-from-st3.sh <relative_path_from_snippets-zakaria_folder/snippet_name>
Example:
./sublime-text-3/get-from-st3.sh javascript/var.sublime-snippet
- My Linux Terminal color scheme (Based on Solaris Dark color scheme)