Browse Source

i'm an idiot.

for some reason i forgot i could override system-wide binaries because the
path is expanded ltr

code is the enemy
death to code
exuberance
Brennen Bearnes 9 years ago
parent
commit
3e65a3eacd
4 changed files with 5 additions and 14 deletions
  1. +3
    -4
      .bashrc
  2. +1
    -1
      .zshrc
  3. +1
    -1
      bin/firefox-fromselection
  4. +0
    -8
      bin/firefox-wrapper

+ 3
- 4
.bashrc View File

@ -1,5 +1,5 @@
# Path:
PATH=~/bin:~/sw/bin:/usr/local/bin:$PATH
PATH=~/firefox:~/bin:~/sw/bin:/usr/local/bin:$PATH
# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
@ -17,9 +17,8 @@ source ~/.aliases
# ideally we want to use this prompt...
#
# user@host hh:mm:ss cwd
# $
#
# user@host hh:mm:ss cwd (git branch) $
#
# in xterms, we also set the window title to cwd.
# ansi color escape sequences


+ 1
- 1
.zshrc View File

@ -80,7 +80,7 @@ DEBEMAIL="bbearnes@gmail.com"
DEBFULLNAME="Brennen Bearnes"
export DEBEMAIL DEBFULLNAME
export PATH=$PATH:/var/lib/gems/1.8/bin/:~/bin/
export PATH=~/firefox:/var/lib/gems/1.8/bin/:~/bin/:$PATH
# reset the prompt on every command to get that parse_git_branch
# function to run. might be a better way to do this, but whatever


+ 1
- 1
bin/firefox-fromselection View File

@ -1,3 +1,3 @@
#!/bin/sh
# clip2firefox - open selected text as firefox address
firefox-wrapper "$(xclip -out)"
firefox "$(xclip -out)"

+ 0
- 8
bin/firefox-wrapper View File

@ -1,8 +0,0 @@
#!/bin/bash
# A wrapper for starting the Firefox in my home directory.
cd ~/firefox
# $@ should pass along all arguments received - used for at least firefox-fromselection:
./firefox "$@"

|||||||
x
 
000:0
Loading…
Cancel
Save