hi my name is cowboy
during the day i write enterprise software
during the evening i make music
pro tip: if you feel you have to add a comment that says /* Valid JavaScript */
it's enterprise ready
My Ubuntu / OS X dotfiles.
License: MIT License
hi my name is cowboy
during the day i write enterprise software
during the evening i make music
pro tip: if you feel you have to add a comment that says /* Valid JavaScript */
it's enterprise ready
Using fancy terminal on Ubuntu.
Commands from history (with "up" arrow key) can not be edited. Specifically, backspace does not work
Maybe I am missing the obvious. but where do I store secret keys for AWS, Heroku, etc and still have them loaded via dotfiles?
What would be my prefered way of doing that?
Whenever I log into Ubuntu and open Chrome, I'm prompted to enter my password unlock a keyring 2-4 times. If open the Passwords and Keys app, I have multiple folders (somemimes 20+) named Login, most of which are empty or have less than three keys. It doesn't matter if I delete these folders because new ones always appear over time. It's like something in the dotfiles is automatically creating these folders, which I keep having to unlock. I've Googled this issue and the normal fixes don't work. How can i resolve this issue? Having to enter my password multiple times to use Chrome is cumbersome.
I couldn't figure out how to make the powerline configs work until I did this:
ln -s ~/.dotfiles/config/powerline ~/.config/powerline
Maybe you could add that symlink in the script.
Thanks for your awesome dotfiles!!!
Hi Ben
Excellent work so with your dotfiles!
I am running Ubuntu 12.10 -- and it seems to hang at the installer for Node.JS --- looking at the active processes --- it is
curl -#Lf http://nodejs.org/dist/v0.8.16/node-v0.8.16-linux-x64.tar.gz
Not sure what other info I can give you --- let me know
thanks
John
excludesfile = /Users/cowboy/.dotfiles/conf/.gitignore_global
should be
excludesfile = ~/.gitignore_global
And that file should be moved to link
folder.
I installed the dotfiles on Ubuntu and got something different from what I was expecting. I'd like to uninstall and try another set of dotfiles. How can I do this?
(Never mind.)
I updated version 1.8.5 of Git via Homebrew and the git status function no longer reports the status in the prompt. Running brew uninstall git
and using the version that came with Xcode works fine.
Any obvious reason this function would break in 1.8.5?
FYI
I was playing around with your manp
script and replace the cache_dir
with something more generic after taking note of this page:
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Your code:
Line 23 in 09aa03c
My improvement:
cache_dir=${XDG_CACHE_HOME:-$HOME/.cache}/$(basename "$0")
I even have a fancy prompt that shows the current directory, time and current git/svn repo status.
POIDH.
That’s great news :) See http://kennethreitz.com/xcode-gcc-and-homebrew.html
(Filed this issue just in case you want to tweak your README and link to https://developer.apple.com/downloads/index.action, or whatever.)
Once gnarf/osx-compose-key#5 lands.
in my ssh config file, i have hosts, such as:
Host foo
HostName 127.0.0.1
user lucky
so I can ssh into a server simply by doing ssh foo
but this repo includes the config file. I do not want to. I can manually remove it using git rm --cached
but i was hoping there was a better way you could think of.
I couldnt find a better location to post this. Thanks.
Because if it gets moved, and you log out, and your server doesn't permit login via password...
(ouch)
Hi there,
First of all we mean you no harm (Ahem :)
Secondly we wondered if you'd do us a massive favour concerning your use of the word 'Ubuntu' in the list in the 'Projects' column of this link http://bit.ly/ubuntubounties .
You see that your project is included in the main projects page of the only 'Official List' we have of Ubuntu Bounties, and we were really hopeful in asking you to make a certain change to your use of the word 'Ubuntu' so that we could have a complete list of the main 'Core' Ubuntu projects on that page.
To remedy this I would ask that you change the 'cowboy/dotfiles' github description from:
" My OS X / Ubuntu dotfiles."
to that of
"My OSX&Ubuntu dotfiles."
... which reads exactly the same, but allows for non-inclusion of the project into the search page results.
Obviously, we don't mean to tarnish your project, but we do need to produce the right results for the Ubuntu project as a whole, which I'm sure as an Ubuntu user you will support.
If you would prefer to create an issue and tell us under-here which temporary issue you would like to be funded then, we would gladly carry out that request. It's just unfortunate that your project happens to be in the 'way' of getting a full sheet of Ubuntu projects as you can see.
**Alternatively, I would ask that you suggest (to myself, below) an Ubuntu bounty that you'd like funding on your behalf, and I'd gladly, me personally, shall put $25 towards that project, and that specific bug that you say I should award.
Thank-you for your kind understanding in this matter.
3rdwiki.
The current setting of origin in bin/dotfiles
line 288 is:
git clone --recursive git://github.com/${github_user:-cowboy}/dotfiles.git $DOTFILES
Yesterday I ran into an issue with this. I could not push to github.com with the generated .git/config
.
The suggested form for cloning is:
git clone [email protected]:cowboy/dotfiles.git
This should setup .git/config
right.
Just want to announce. Will send a pull request once I got some routine with github.com, and dived into this a little deeper.
regards
from Elmar to Alman
P.S.: Yes, I tried with my own fork of the repo.
It makes shell startup much faster
Hi,
thank you for your great scripts and configurations, and the proposed concept of managing them. I am currently using a small subset of the folders (init, copy and link) in order to setup Raspbian systems. It works great.
Just one question I have: Although the files within the subfolders COPY, LINK and INIT are handled as expected, the files in the SOURCE subfolder seem not to be. For example, I would like to see the prompt change according to the file source/50_prompt.sh
. As the file bin/dotfiles
does not execute / handle the SOURCE files as done for COPY, LINK and INIT, where (in which of the repository files) do I find the line of code which executes them?
Thank you very much.
Add to the docs or README, maybe:
sudo visudo
(enter password when asked)
/%adm<Enter>3fAiNOPASSWD:<Esc>:wq<Enter>
%admin ALL=(ALL) ALL
%admin ALL=(ALL) NOPASSWD:ALL
sudo visudo
/%adm<Enter>fNdf:<Esc>:wq<Enter>
(This assumes the default new system visudo configuration)
If you still want to install Ruby 1.9.2, you'll need to add a step to install the official GCC compiler as a prerequisite. That installer can't use the XCode command line tools.
Installing Ruby versions: 1.9.2-p290
ERROR: This package must be compiled with GCC, but ruby-build couldn't
find a suitable gcc
executable on your system. Please install GCC
and try again.
DETAILS: Apple no longer includes the official GCC compiler with Xcode
as of version 4.2. Instead, the gcc
executable is a symlink to
llvm-gcc
, a modified version of GCC which outputs LLVM bytecode.
For most programs the llvm-gcc
compiler works fine. However,
versions of Ruby older than 1.9.3-p125 are incompatible with
llvm-gcc
. To build older versions of Ruby you must have the official
GCC compiler installed on your system.
TO FIX THE PROBLEM: Install the official GCC compiler using these
packages: https://github.com/kennethreitz/osx-gcc-installer/downloads
You will need to install the official GCC compiler to build older
versions of Ruby even if you have installed Apple's Command Line Tools
for Xcode package. The Command Line Tools for Xcode package only
includes llvm-gcc
.
BUILD FAILED
I don't know why you'd still want to be installing 1.9.2 with 2 being the stable branch (and when you're already installing 1.9.3) though, so you probably just want to (or have already) remove that version from your list of versions to install on a fresh machine.
See comments at f5033a0
Cowboy please tell me, how i can remove programs installed with your .dotfiles?
Ex: ReaMote64, REAPER64, Moom...etc
So, I had been setting export EDITOR=subl
& export VISUAL=subl
in .profile, .bashrc & .bash_profile in hopes that the EDITOR would change to sublime text, then I realized that you were sourcing them from 50_editor.sh.
As someone who really doesn't know a lick of shell scripting, I assume that you set Sublime text for OSX ( the "OSTYPE" = ^darwin
condition check) & any of nano pico vi vim
for others. I'd like to add sublime text to the mix, so do I just add subl
to that list as well?
or do I just rewrite that line as export EDITOR='subl -w'
Apologies in advance if this is an inane question.
I take the concept init scripts as being scripts that are run only when something needs to be setup. I've noticed that your script automatically wants to run any init script by default every time. Is there a way to make init scripts not default to be run after the first run? Example: I run dotfiles for the first time and all the init scripts default to run but then every subsequent run afterwards defaults to not run since everything doesn't need to be run every time. Thanks.
If you run the install on an EC2 instance the authorized keys are broken. I have even backed up the authorized_keys file and moved it back still no luck. Any thoughts?
I don't see where the .aliases file gets sourced.. does bash know to read from this location?
So I'm trying to setup the dot files. I've forked it out. But there are some errors that are showing
Sourcing 30_osx_homebrew_recipes.sh
couldn't understand kern.osversion `14.0.0'
Sourcing 50_node.sh
/Users/ezjacob/.dotfiles/source/50_node.sh: line 19: nave: command not found
Installing Node.js stable
bash: line 22: nave: command not found
/Users/ezjacob/.dotfiles/source/50_node.sh: line 9: nave: command not found
ln: /Users/ezjacob/.nave/installed/default/stable: File exists
Nave default set to stable
Updating npm
bash: line 34: npm: command not found
bash: line 35: npm: command not found
bash: line 35: pushd: /lib/node_modules: No such file or directory
bash: line 35: popd: directory stack empty
Installing Npm modules: grunt-cli grunt-init linken bower node-inspector yo
bash: line 39: npm: command not found
Sourcing 50_osx_fonts.sh
Sourcing 50_ruby.sh
Installing Ruby versions: 2.1.3
rbenv: no such command `install'
rbenv: version `2.1.3' not installed
Sourcing 50_vim.sh
All done!
-bash: /Users/ezjacob/.dotfiles/vendor/z/z.sh: No such file or directory
Any thoughts on whats happening?
iTerm and built in terminal break on these commands with no errors:
cd /
cd /any/path/starting/with/slash
cd ~ && cd .. && cd .. # breaks when I get to the / path
and there were a few others. I have tried disabling things but cannot locate what is causing the issue so far.
I don't know exactly why, but hub
gem doesn't require token in .gitconfig
for me. Maybe it's good to remote that line and file to /link
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.