8000 GitHub - palpen/dotfiles: dotfiles containing bash aliases
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

palpen/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 .).

About

dotfiles containing bash aliases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0