GithubHelp home page GithubHelp logo

karthikiyengar / dotfiles-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from muralisc/dotfiles

0.0 2.0 0.0 694 KB

my dotfiles !!

Shell 46.92% Lua 36.26% Python 1.97% GDB 0.04% Vim Script 14.80%

dotfiles-1's Introduction

dotfiles

My dotfiles. Works seamlessly for both Mac OS X and Archlinux.

Installation

Oneliner

Using curl,

bash -c "$(curl -fsSL https://raw.githubusercontent.com/muralisc/dotfiles/master/install.sh)"

Or using wget

bash -c "$(wget https://raw.githubusercontent.com/muralisc/dotfiles/master/install.sh -O -)"

Or use Git

$ git clone https://github.com/muralisc/dotfiles.git ~/dotfiles
$ cd ~/dotfiles
$ ./install.sh
Add a ~/.shrc.local

After install complete, create a ~/.shrc.local to store the local settings. For e.g: my ~/.shrc.local typically contains something like:

attach_to_tmux <tmux_socketname> <tmux_session_name>
source /path/to/my/helper/functions/for/work
SONGS_DIRECTORY="path/to/my/songs"
export DOTFILES_MY_ENV_VAR   #nitialize the set of vars used in this repo
some_function_specific_for_this_machine() {
}

Personal git config

Create a ~/.extra file to do machine specific steps while installation. Got this idea from (mathiasbynens/dotfiles)[https://github.com/mathiasbynens/dotfiles]

# Git credentials
# Not in the repository, to prevent people from accidentally committing under my name
GIT_AUTHOR_NAME="Murali Suresh"
GIT_AUTHOR_EMAIL="[email protected]"
GIT_USERNAME="muralisc"
git config --global user.name "$GIT_AUTHOR_NAME"
git config --global user.email "$GIT_AUTHOR_EMAIL"
git config --global credential.https://github.com.username "$GIT_USERNAME"

Environment variables Populate in ~/.env.local

DOTFILES_ALARM_MEDIA
DOTFILES_LEDGER_FILE
DOTFILES_HABBITS
PANE_NAME

Features

  • c - a command line calculator e.g: c 2 ^ 3 * 2
  • decimal_to_binary - c doesn't do this
  • binary_to_decimal - c doesn't do this too
  • attach_to_tmux - is a helper function which automatically creates a tmux session if no exist, or attaches to existing one if one is already created.
  • transfer - Use https://transfer.sh to transfer files.
  • timeGoogle - Update time in linux from google
  • ms - music search for mpd
  • mp - music play for mpd
  • tt - time till e.g: tt tomorrow5am

My current Environment

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.