Skip to content

zakaziko99/zaka-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zaka-files

the most important & personnal config files for workflow

My Dot files

Must be installed

To work fine on your terminal, you have to install those:

otherwise it won't work correctly

Bash files (based on bash-it)

  • Environment ($PATH)
  • Aliases (common, Git, ...)
  • Bashrc

Git files

  • .gitconfig file

Zsh files (based on oh-my-zsh)

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

Enable the dot 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

Update the dot files

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

Your private aliases

On the folder ~/bin/dotfiles/common, you will find the private-aliases file wich you may store your own private aliases

Overwrite the bashrc or zshrc

You can create the file ~/.bashrc.local or ~/.zshrc.local to overwrite some configs if your are using Bash or Zsh

Overwrite the PATH system variable

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"

Sublime text files

  • Preferences
  • Key shortcuts
  • Snippets
    • Polymer Snippets (HTML & Javascript)
    • Init Functions (Javascript)

Copy the snippets to Sublime Text 3

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

Get from Sublime Text 3, the snippet you want

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

Other files & some useful things

  • My Linux Terminal color scheme (Based on Solaris Dark color scheme)

About

the most important config files for workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages