Giter VIP home page Giter VIP logo

env's Introduction

env

Linux environment files

This repository contains a few files to set up a linux command line environment the way I like it.

This includes:

  • aliases
  • generic scripts
  • PATH variable setup

Installing environment settings

New system installs (getting the prerequisites)

Start for a new system

# First things first: make sure we have git
sudo apt-get update
sudo apt-get install -y git

# Setting up github account global config options
git config --global user.email "[email protected]"
git config --global user.name "nsheff"

# Set up auth keys if you like
# instructions:

ssh-keygen -t rsa -b 4096 -C "identifier"

# Now copy/paste that into GitHub
 cat .ssh/id_rsa.pub

Link for adding new ssh key: https://github.com/settings/ssh

Run basic configuration

Use one of the scripts in system/ like system/basicSetup.sh

Cloning the repo and setting up

Start from here if you already have git set up how you want it

# To clone this repository:
mkdir -p code
cd code
git clone [email protected]:nsheff/env.git

# Add a line like this into your .bashrc:
# source path/to/repo/env/bashsetup.sh
cd
echo 'source ~/code/env/bashsetup.sh' >> .bashrc
# Set up environment variables by pasting template `bash_vars_template.sh` # into your `.bashrc` Then adjust variables for this system.
cat ~/code/env/bash_vars_template.sh >> .bashrc

Establish some links

Link tomboy notes: Link .Rprofile:

ln -s -i ${CODEBASE}env/dotfiles/.Rprofile $HOME/.Rprofile

ln -s -i ~/Dropbox/.tomboy ~/.local/share/tomboy
ln -s -i ~/Dropbox/env/sshconfig .ssh/config

Link atom theme:

ln -s -i ~/code/env/ns-atom-syntax/ ~/.atom/packages/ns-syntax
ln -s -i ~/Dropbox/env/default.xml ~/.config/inkscape/keys/default.xml

Link workrave stats:

ln -s -i ~/Dropbox/env/historystats ~/.workrave/historystats

Link gedit preferences

ln -s -i ~/Dropbox/env/.rgedit-preferences ~/.rgedit-preferences

Add launchers to menu so they can be dragged to quicklaunch panel:

cd ~/code/env/launch
./linkLaunchers.sh

Add pointer to env Makefile

echo 'include ~/Dropbox/env/Makefile' >> Makefile

Link in inkscape short keys

ln -s -i ~/code/env/dotfiles/inkscape_keys.xml .config/inkscape/keys/default.xml

Some manual installs:

Clone my repos

cd code
git clone [email protected]:nsheff/docker

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.