Skip to content

pa-bouly/shell-configuration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shell-configuration

A Simple shell configuration for macOS & Linux.

What's inside ?

  • Usefull aliases for common & git commands
  • A simple configuration for vim and nano with syntax coloration
  • A full configuration for ZSH including oh-my-zsh and some really nice packages

Prerequisites

  • Unix-like operating system (macOS or Linux)
  • Zsh should be installed. If not pre-installed (zsh --version to confirm), check the following instruction here: Installing ZSH
  • git, vim and curl should be installed

How to install the configuration ?

Download & install the sources

$ git clone https://github.com/Carmain/shell-configuration.git
$ cd shell-configuration
$ bash install.sh

After that, close all the shells instances and repoen a new one

If nothing changed, try the command antigen reset & reload the shell again. If the problem isn't fixed, delete the .zcompdump file (in ~) and reload again.  

Packages installed for ZSH

Bundles from the default repo (robbyrussell's oh-my-zsh)

Awesome other bundles

Shortcuts & aliases already inclued

ZSH aliases

Original command Alias
cd ../ ..
cd ../../ ...
cd ../../../ ....
ls --color=auto ls
ls -l --color=auto ll
ls -ahl --color=auto lahl
ls -d .* --color=auto l.
grep --color=auto grep
egrep --color=auto egrep
fgrep --color=auto fgrep
history h
python py
pip pi
python3 py3
pip3 pi3
git g
git flow gf

Git

Start the command with git ... or g ... (example : git st)

Original command Shortcut
add a
add . all
commit c
commit --amend amend
diff d
diff --cached cached
status st
checkout co
branch br
log --graph --oneline --all tree

About

A Simple Vim, ZSH & Tmux configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 66.4%
  • Vim Script 33.6%