• This repository has been archived on 30/Apr/2021
  • Stars
    star
    13
  • Rank 1,512,713 (Top 30 %)
  • Language
    Shell
  • License
    MIT License
  • Created about 10 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

My old BASH dot-files... Try new one!

Dotfiles Final Whistle

UPDATE

https://github.com/vigo/dotfiles-fever is the new rising ☆


OS X, Ubuntu and Gentoo Linux competible dot-files / shell environment collection.

Requirements

OSX

You need Homebrew and git. Install Homebrew first and then install git via brew install git.

Ubuntu

git required. sudo aptitude install git can help you out...

Gentoo

git required :) emerge dev-vcs/git

Installation and Removal

You need to clone the repo:

git clone https://github.com/vigo/dotfiles-universal.git $HOME/Dotfiles
bash $HOME/Dotfiles/scripts/install.sh

nanorc is optional now. Please check rc/nanorc.example for more information.

Dotfiles is shiped with configurable PS1 feature. PS1 elements are:

ps1_Horizontal_Line
ps1_Shell_Name
ps1_Free_Memory
ps1_Battery_Status
ps1_IP_List
ps1_Username_and_Hostname
ps1_Database_Status
ps1_Virtualenv_Status
ps1_RBENV_Status
ps1_PYENV_Status
ps1_GIT_Status
ps1_Mercurial_Status

There are two pre-defined configurations:

    ps1_PREFS_Full
    ps1_PREFS_Basic

Default value for PS1 is ps1_PREFS_Basic:

# you’ll see this:
export PS1=$ps1_PREFS_Basic

You can override this via putting your own config under Private/ folder as ps1:

# example custom PS1
export PS1=$ps1_PREFS_Full

# or
export PS1="${ps1_Username_and_Hostname}\n$ "

# or
export PS1="$ps1_Username_and_Hostname
$ps1_RBENV_Status$ps1_GIT_Status
> "

If you like to uninstall;

cd $HOME/Dotfiles
bash scripts/uninstall.sh

OSX Special

If you like to tweak Yosemite, try:

bash $HOME/Dotfiles/scripts/tweaks_osx.sh

Need to restart shell / logout - login or exec $SHELL.

Goodies

  • Fancy history
  • Color-full files :)
  • .inputrc magic!
  • OSX specific aliases: desktop_hide, desktop_show, shadow_screenshot_disable, shadow_screenshot_enable, ios_backup_disable, ios_backup_enable, ds_store_clear, reload_textmate
  • try alias to see additions. what_is_my_real_ip, what_is_my_public_ip

Put all of your private stuff under Private/ folder! Custom functions, env, aliases etc...

Functions and Aliases

Functions

  • webserver : SimpleHTTPServer.
  • webserver_rb : Ruby version of simple http server uses httpd of ruby!
  • gz_analyse : Shows not/gzipped size diffs
  • dataurl : Creates base64 encoded image!
  • mkdir_cd: Creates folder and cd’ies in to it!

Aliases

  • ll, la, l : Listing directory, you know the drill!
  • grep, fgrep : Incase sensitive and color enabled.
  • less, more : Enabled raw control characters.
  • rm : By default : rm -i
  • what_is_my_public_ip, what_is_my_real_ip : Use what_is_my_public_ip if dig installed.
  • restart_bash : Reload bash environment

Prompt Shell Features

OSX: Free Memory, Battery status, IP List, Database (MySQL + PostgresQL) Status

BOTH: Rbenv, Pyenv, Git / Mercurial prompt, Virtualenv

Screenshots

Terminal Screen

Change Log

You can browse change log here.

Contributer(s)

License

This project is licensed under MIT.

More Repositories

1

git-puf-noktalari

Günlük hayatta kullandığımız revizyon kontrol sistemi GIT ile ilgili küçük ipuçlarını anlatan yeni mini kitabım.
Ruby
425
star
2

kommit

Build your commit message without touching or editing your code!
Shell
204
star
3

ruby101-kitap

Türkçe Ruby kitabı
Ruby
197
star
4

dinozorus

1990'lı yıllara damgasını vuran efsane televizyon oyunu Dinozorus. Amiga 1200 - AGA
Assembly
134
star
5

turk-scene-tarihi

80'lerin ortasında başlayan, günümüz bilgisayar kültürünün neredeyse başlangıç noktası olan Türk SCENE/DEMOSCENE tarihçesi
85
star
6

lyk-2017

Linux Yaz Kampı 2017'de anlattığım konular.
41
star
7

django2-project-template

Django project/application starter for lazybones :)
Python
39
star
8

statoo

`statoo` is a super simple http GET tool for checking site health
Go
33
star
9

textmate-twitterbootstrap.tmbundle

TextMate bundle for Twitter's Bootstrap
HTML
33
star
10

awesome-c64

Commodore 64 related links such as C64 tools for Mac/Linux/PC, demoscene related stuff, coding tools, C64 utilities etc...
31
star
11

textmate-octopress.tmbundle

TextMate bundle for Octopress blog engine. http://octopress.org/
29
star
12

django-admin-list-filter

Dead simple autocompletion for Django admin `list_filter`.
Python
22
star
13

gh_issues

Manage GitHub issues from command-line (read only!)
Ruby
22
star
14

dotfiles-light

Just another but `lighter` version of BASH environment
Shell
20
star
15

textmate2-python-fmt

Python FMT is a python linter/formatter/checker for TextMate.
Ruby
13
star
16

textmate2-gfm-preview

GitHub Flavored Markdown Preview for TextMate 2
CSS
13
star
17

django-project-template

Project starter for Django 1.11.4 ... Batteries included :)
Python
9
star
18

textmate-hosts.tmbundle

TextMate bundle for /etc/hosts file
9
star
19

dotfiles-fever

Elegant BASH environment for macOS, Ubuntu and Gentoo
Shell
8
star
20

textmate-window-manager

Window manager/arranger for oldskool TextMate (1.5)
Shell
7
star
21

apm-bash-completion

Bash completion for Atom Package Manager (apm)
Shell
6
star
22

stormssh-completion

Bash competion for `sshstorm` (https://github.com/emre/storm)
Shell
6
star
23

devpod

Official website of devPod
HTML
6
star
24

textmate2-ruff-linter

Ruff linter for TextMate2. Linter and auto fixer for python!
Perl
5
star
25

ugur.ozyilmazel.com-v5

Kişisel websitem V4.0
HTML
5
star
26

lsvirtualenvs

Small commandline tool for `virtualenvwrapper`
Go
4
star
27

ghstars

Show GitHub stars count for user!
Go
4
star
28

git-init-githubrepo

Create git repository for GitHub style
Go
4
star
29

textmate2-tailwind-css

Tailwind CSS support for TextMate 2
Ruby
4
star
30

golang-notlarim

Golang geliştirme ile ilgili aldığım notlar
Ruby
4
star
31

git-tips

Git versiyon kontrol sistemi ile ilgili Türkçe dökümantasyon ve ipuçları
JavaScript
4
star
32

dox2008

2007-2008 yıllarında İstanbul Bilgi Üniversitesi, web departmanı için hazırladığım javascript ve html/css eğitimleri
JavaScript
4
star
33

textmate2-power-tools

Some useful TextMate2 snippets, commands etc...
Ruby
3
star
34

inspect-go

Ruby-ish Object#inspect tryouts for Golang!
Go
3
star
35

putio

Command-Line client for put.io platform (unofficial)
Go
3
star
36

textmate2-64tass-bundle

64tass Bundle for TextMate 2
2
star
37

sayisal_captcha

Çok basit şekilde iki basamaklı sayılardan random toplama ya da çarpma üreten bir sistem
Ruby
2
star
38

learning-stimulus-02

I'm learning stimulus, this is example 02
JavaScript
2
star
39

vigo

I'm a hustler baby!
2
star
40

textmate2-gomodifytags

TextMate2 implementation of Fatih’s gomodifytags
Shell
2
star
41

els

Unix `ls` command alternative via Ruby :)
Ruby
2
star
42

ruby101-kitap-kod

Ruby101 kitabında geçen kod örnekleri
2
star
43

vigo.io

Personal website
HTML
2
star
44

pg16_django

3. Programlama Günleri / Karabük - Django ile tanışma
Python
2
star
45

learning-stimulus-01

I'm learning stimulus, this is example 01
JavaScript
1
star
46

homebrew-statoo

brew tap repo for `statoo`
Ruby
1
star
47

textmate2-bootstrap3

Bootstrap 3's helpers for TextMate2
1
star
48

uptimerobot_cmd

Command-line client for Uptimerobot service
Ruby
1
star
49

stringutils-demo

A basic golang package for demo purpose only...
Go
1
star
50

textmate1-twitter-bs3.tmbundle

Twitter Bootstrap 3 bundle for TextMate1 (yes the oldest TextMate)
1
star
51

try_git

1
star
52

homebrew-lsvirtualenvs

brew tap for lsvirtualenvs
Ruby
1
star
53

dji18njs

Modified and hardcore changed version of Django's i18n-javascript function. Can be usable as JavasScript Template engine. If you familiar with python's "format text" you will love this!
JavaScript
1
star
54

homebrew-git-init-githubrepo

brew tap for `git-init-githubrepo`
Ruby
1
star
55

amiga-ascii.tmbundle

Oldskool Amiga ascii/azki/nfo/diz support for TextMate with real Amiga fonts
1
star
56

vigo.github.com

My developer home page...
HTML
1
star
57

ugur.ozyilmazel.com

Kişisel web sitem
HTML
1
star
58

my-custom-textmate1-bundle

Many snippets and my custom scratch-pad for TextMate1.
CSS
1
star
59

textmate-nanorc.tmbundle

.nanorc bundle for TextMate
Ruby
1
star
60

homebrew-ghstars

Brew tap for ghstars cli
Ruby
1
star