Giter Club home page Giter Club logo

dotfiles's Introduction

These are my dotfiles containing my aliases in Bash and customizations to my command prompt. I borrowed its structure and the command prompt theme from jacobtomlinson

To use this, download the repository to Dropbox then create a symbolic link of .bash_profile, .bashrc, and .bashrc.d to the home directory, $HOME. The symbolic links to the home directory are created by executing the following in Terminal:

cd ~
ln -s ~/Desktop/Dropbox/misc/dotfiles/.bash_profile
ln -s ~/Desktop/Dropbox/misc/dotfiles/.bashrc
ln -s ~/Desktop/Dropbox/misc/dotfiles/.bashrc.d

(note: I moved my Dropbox folder to the Desktop)

Where are PATH variables stored?

  • You've installed an application that you want to use in the command line. To do this, add it to your shell's path in other_config.sh found in .bashrc.d:

      export PATH=$PATH:<path to application>
    

A better way to view files on Finder from Terminal

Reference: Will Robertson

  1. Create a text file with

    #!/bin/bash osascript -e "tell application "Finder" to activate"
    -e "tell application "Finder" to set the folder of the front window to POSIX file "`pwd`" " > /dev/null

in it. Save is as fin (no extension) 2. Place fin in the usr/local/bin directory 3. Give fin the proper executable permission by entering the following in terminal

chmod +x fin

Enter fin in Terminal and the current directory should open in a Finder window that's already open (instead of a new Finder window, which is the case with open .).

dotfiles's People

Watchers

 avatar  avatar

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.