Coder Social home page Coder Social logo

dotfiles's Introduction

CΔƒtΔƒlin’s dotfiles

CI status for macOS CI status for Ubuntu

These are the base dotfiles that I start with when I set up a new environment (for more specific local needs I use the *.local files).

Table of Contents

Setup

To set up the dotfiles run the appropriate snippet in the terminal:

Caution

DO NOT run the setup script if you do not fully understand what it does. Seriously, DON'T!

OS Snippet
macOS bash -c "$(curl -LsS https://raw.github.com/alrra/dotfiles/main/src/os/setup.sh)"
Ubuntu bash -c "$(wget -qO - https://raw.github.com/alrra/dotfiles/main/src/os/setup.sh)"

That's it! ✨

The setup process will:

  • Download the dotfiles on your computer (by default it will suggest ~/projects/dotfiles).
  • Symlink the Git, shell, tmux, and Vim related files.
  • Install applications / command-line tools for macOS / Ubuntu.
  • Set custom macOS / Ubuntu preferences.
  • Install the Vim and VS Code plugins.

Setup process in action:

macOS.mp4
Ubuntu.mp4

Screenshots

Git

Output for git status:

Output for Git status on macOS Output for Git status on Ubuntu
macOS Ubuntu

Output for git log:

Output for Git log on macOS Output for Git log on Ubuntu
macOS Ubuntu

tmux & Vim

tmux and Vim on macOS tmux and Vim on Ubuntu
macOS Ubuntu

Customize

Local Settings

The dotfiles can be easily extended to suit additional local requirements by using the following files:

~/.bash.local

The ~/.bash.local file will be automatically sourced after all the other Bash related files, thus, allowing its content to add to or overwrite the existing aliases, settings, PATH, etc.

Here is an example:

#!/bin/bash

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Set PATH additions.

PATH="/Users/alrra/projects/dotfiles/src/bin/:$PATH"

export PATH

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Set local aliases.

alias g="git"

~/.gitconfig.local

The ~/.gitconfig.local file will be automatically included after the configurations from ~/.gitconfig, thus, allowing its content to overwrite or add to the existing Git configurations.

Note: Use ~/.gitconfig.local to store sensitive information such as the Git user credentials, e.g.:

[commit]

    # Sign commits using GPG.
    # https://help.github.com/articles/signing-commits-using-gpg/

    gpgSign = true

[user]

    name = Your Name
    email = [email protected]
    signingKey = XXXXXXXX

~/.vimrc.local

The ~/.vimrc.local file will be automatically sourced after ~/.vimrc, thus, allowing its content to add or overwrite the settings from ~/.vimrc.

Here is an example:

" Disable arrow keys in insert mode.

inoremap <Down>  <ESC>:echoe "Use j"<CR>
inoremap <Left>  <ESC>:echoe "Use h"<CR>
inoremap <Right> <ESC>:echoe "Use l"<CR>
inoremap <Up>    <ESC>:echoe "Use k"<CR>

" Disable arrow keys in normal mode.

nnoremap <Down>  :echoe "Use j"<CR>
nnoremap <Left>  :echoe "Use h"<CR>
nnoremap <Right> :echoe "Use l"<CR>
nnoremap <Up>    :echoe "Use k"<CR>

Forks

If you decide to fork this project, do not forget to substitute my username with your own in the setup snippets and in the setup script.

Update

To update the dotfiles you can either run the setup script or, if you want to update one particular part, run the appropriate os script.

License

The code is available under the MIT license.

dotfiles's People

Contributors

aleks-sidorenko avatar alrra avatar andre3k1 avatar antleblanc avatar fredlackeyofficial avatar gabrielfreiberg avatar keyurgolani avatar lisonfoalr avatar michelegera avatar naman-ntc avatar vitorgalvao avatar wingy3181 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotfiles's Issues

`nvm` may not be pathed properly?

This maybe an isolated issue. I just recieved a new computer from a new job (mac).
Everything worked beautifully except node wasnt installing properly due to nvm not being linked properly in .bash.local. I got around this by replacing your script like so

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Node Version Manager

#export NVM_DIR=""
#[ -f "$NVM_DIR/nvm.sh" ] \
#    && source "$NVM_DIR/nvm.sh"
#commented out above and just added the default nvm suggestion of:
. ~/.nvm/nvm.sh

I'm a nerb; this is prob a weird setting on the work settings.
After I added .!/.nvm/nvm.sh everything worked as expected.

I haven't noticed any other problems; however, in .bash_profile theres:

[ -f "$NVM_DIR/bash_completion" ] \
        && source $NVM_DIR/bash_completion

Which I dunno what it does but it would be missing if I guessed.

How could I add italics to prompt?

I bought this awesome typeface called operator by hoelfer.

It has this beautiful italic and I would like to add it to my Working directory

Kind of a nerb with editing my terminal... Would you have any advice on how I could set my working directory to be bold and italic?

set_prompts() {

    local black='' blue='' bold='' cyan='' green='' orange='' \
          purple='' red='' reset='' white='' yellow=''

    # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    if [ -x /usr/bin/tput ] && tput setaf 1 &> /dev/null; then

        tput sgr0 # Reset colors

        bold=$(tput bold)
        reset=$(tput sgr0)

        # Solarized colors
        # https://github.com/altercation/solarized/tree/master/iterm2-colors-solarized#the-values

        black=$(tput setaf 0)
        blue=$(tput setaf 33)
        cyan=$(tput setaf 37)
        green=$(tput setaf 64)
        orange=$(tput setaf 166)
        purple=$(tput setaf 125)
        red=$(tput setaf 124)
        white=$(tput setaf 15)
        yellow=$(tput setaf 136)

    else

        bold="\e[1m" 
        reset="\e[0m"

        black="\e[1;30m"
        blue="\e[1;34m"
        cyan="\e[1;36m"
        green="\e[1;32m"
        orange="\e[1;33m"
        purple="\e[1;35m"
        red="\e[1;31m"
        white="\e[1;37m"
        yellow="\e[1;33m"

    fi

    # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    # Prompt Statement variables
    # http://ss64.com/bash/syntax-prompt.html

    # ------------------------------------------------------------------
    # | PS1 - Default interactive prompt                               |
    # ------------------------------------------------------------------

    PS1="\[\033]0;\w\007\]"         # Terminal title (set to the
                                    # current working directory)
    PS1+="\[$bold\]"
    PS1+="\[$orange\]\u"            # Username
    PS1+="\[$white\]@"
    PS1+="\[$yellow\]\h"            # Host
    PS1+="\[$white\]: "
    PS1+="\[$green\]\w"             # Working directory
    PS1+="\$(get_git_repository_details \"$white on $cyan\")"
    PS1+="\n"
    PS1+="\[$reset$white\]\$ \[$reset\]"

npm WARN npm npm does not support Node.js v9.1.0

I get this error:

npm WARN npm npm does not support Node.js v9.1.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8.
npm WARN npm You can find the latest version at https://nodejs.org/

Seems you need to avoid doing npm -g install npm@latest on node 9 for now.

Optionally spawning private dotfiles install?

I am considering adding a section to optionally spawn an install for a smaller section of scripts from a private git repo... or maybe multiple (private hosts file, restore app preferences, etc.). The user would need to be prompted for credentials of that repo IF they wanted to install them. Where / how would you suggest adding them?

Automatically answer to the Opera prompt on Ubuntu

When installing Opera, Opera Beta and/or Opera Developer on Ubuntu, a prompt is shown:

This blocks the current install process on Ubuntu as the install relies on everything being done automatically without user interaction.

Fix: Automatically answer to the package configuration prompt with Yes, by doing the following

# Opera (on 64-bit versions of Ubuntu)
printf "opera-stable opera-stable/add-deb-source boolean true\n" | sudo debconf-set-selections
sudo apt-get install -qqy opera-stable

# Opera Beta
printf "opera-beta opera-beta/add-deb-source boolean true\n"  | sudo debconf-set-selections
sudo apt-get install -qqy opera-beta

# Opera Developer
printf "opera-developer opera-developer/add-deb-source boolean true\n" | sudo debconf-set-selections
sudo apt-get install -qqy opera-developer

Startup slowed (a little) with these dotfiles

My bash startup time has slowed (lags about half a second) before text appears on screen. Now it's not too much lag but is somewhat irritating. Can you suggest any measures to solve this??

Specs :
Ubuntu 18.04
8 GB RAM
i5 processor

Improve `update_content.sh`

If the user chooses not to install the applications/utilities and then tries to update the files, on Ubuntu for example, xclip would not be there, causing the script to be stuck in an infinite loop.

Fix Finders's annoying update problem

On Mac OS X, Finder won't show immediately the changes made to files from within other apps. If, for example, a file is created, removed or modified from an app such as Terminal, Gimp etc, Finder won't reflect the changes, and it won't:

  • show the newly created files
  • remove the recently deleted files
  • update the file previews
  • update file information such as file size

Make `httpcompression` prevent intermediate proxies from caching responses

In some cases, intermediate proxies ignore the Content-Encoding header altogether.

e.g.:

  • Script:

    curl -sSL \
    -A 'Mozilla/5.0 Gecko' \
    -H 'Accept-Encoding: gzip, deflate, sdch' \
    -D - -o /dev/null \
    "adobe.com"
  • First run:

    HTTP/1.1 301 Moved Permanently
    Date: Sat, 07 Dec 2013 17:43:10 GMT
    Server: Apache
    Location: http://www.adobe.com/
    Content-Length: 229
    Content-Type: text/html; charset=iso-8859-1
    
    HTTP/1.1 200 OK
    Date: Sat, 07 Dec 2013 17:43:11 GMT
    Server: Apache
    X-Adobe-Content: WCMS
    Accept-Ranges: bytes
    Cache-Control: max-age=900
    Expires: Sat, 07 Dec 2013 17:58:11 GMT
    Connection: Keep-Alive
    Content-Type: text/html; charset=UTF-8
    Vary: Accept-Encoding, User-Agent
    __Content-Encoding: gzip__
    Content-Length: 24167
    
  • Second run:

    HTTP/1.1 301 Moved Permanently
    Date: Sat, 07 Dec 2013 17:45:04 GMT
    Server: Apache
    Location: http://www.adobe.com/
    Content-Length: 229
    Content-Type: text/html; charset=iso-8859-1
    
    HTTP/1.1 200 OK
    Server: Apache
    X-Adobe-Content: WCMS
    Accept-Ranges: bytes
    Cache-Control: max-age=900
    Content-Type: text/html; charset=UTF-8
    Connection: Keep-Alive
    Date: Sat, 07 Dec 2013 17:45:05 GMT
    Expires: Sat, 07 Dec 2013 17:58:53 GMT
    Age: 72     
    Content-Length: 114460
    

In this case, once a request was made and the intermediate proxy has the entry, all the following responses served from the proxy's cache, ignore the Content-Encoding header.

More about the Age header:

Sending Cache-Control no-cache as a request header solves this problem by forcing validation of the resources in the intermediate proxies, thereby, ensuring that every request is fetched from the origin server.

  • Script

    curl -sSL \
    -A 'Mozilla/5.0 Gecko' \
    -H 'Accept-Encoding: gzip, deflate, sdch' \
    -H 'Cache-Control: no-cache' \
    -D - -o /dev/null \
    "adobe.com"
  • First run:

    HTTP/1.1 301 Moved Permanently
    Date: Sat, 07 Dec 2013 17:54:37 GMT
    Server: Apache
    Location: http://www.adobe.com/
    Content-Length: 229
    Content-Type: text/html; charset=iso-8859-1
    
    HTTP/1.1 200 OK
    Date: Sat, 07 Dec 2013 17:54:38 GMT
    Server: Apache
    X-Adobe-Content: WCMS
    Accept-Ranges: bytes
    Cache-Control: max-age=900
    Expires: Sat, 07 Dec 2013 18:09:38 GMT
    Content-Type: text/html; charset=UTF-8
    Vary: Accept-Encoding, User-Agent
    __Content-Encoding: gzip__
    Content-Length: 24167
    Connection: Keep-Alive
    
  • Second run:

    HTTP/1.1 301 Moved Permanently
    Date: Sat, 07 Dec 2013 17:54:41 GMT
    Server: Apache
    Location: http://www.adobe.com/
    Content-Length: 229
    Content-Type: text/html; charset=iso-8859-1
    
    HTTP/1.1 200 OK
    Date: Sat, 07 Dec 2013 17:54:42 GMT
    Server: Apache
    X-Adobe-Content: WCMS
    Accept-Ranges: bytes
    Cache-Control: max-age=900
    Expires: Sat, 07 Dec 2013 18:09:42 GMT
    Content-Type: text/html; charset=UTF-8
    Vary: Accept-Encoding, User-Agent
    __Content-Encoding: gzip__
    Content-Length: 24167
    Connection: Keep-Alive
    

Fix macOS pasteboard access in tmux sessions

On macOS Sierra (v10.12) pasteboard access in tmux sessions is once again broken.

Note: Yosemite (and later)

Starting in Yosemite (10.10), the wrapper program does not seem to be needed for pasteboard access.

(source)

Why Pasteboard Breaks

Access to the Mac OS X Pasteboard Service

The pasteboard service in Mac OS X is registered in a "bootstrap namespace" (see Apple’s TN2083). The namespaces exist in a hierarchy: β€œhigher” namespaces include access to β€œlower” namespaces. A process in a lower namespace can not access higher namespaces. So, all process can access the lowest, β€œroot” bootstrap namespace, but only processes in a higher namespace can access that namespace. Processes created as a part of a Mac OS X login session are automatically included in the user’s β€œper-user” bootstrap namespace. The pasteboard service is only available to processes in the per-user bootstrap namespace.

Interaction with tmux

tmux uses the daemon(3) library function when starting its server process. In Mac OS X 10.5, Apple changed daemon(3) to move the resulting process from its original bootstrap namespace to the root bootstrap namespace. This means that the tmux server, and its
children, will automatically and uncontrollably lose access to what would have been their original bootstrap namespace (i.e. the one that has access to the pasteboard service).

(source)

See also:

Does not work in docker ubuntu

Thanks for setting up this repo! I'm interested in giving it a whirl but I don't want to affect my current setup.

I'm not sure if you use docker much, but it's a regular part of my development cycle - especially when it comes to testing new things. Unfortunately, there are some assumptions on what packages exist in this repo such as lsb-core, sudo, gsettings, etc. That's not a huge problem I just thought I'd let you know.

You may or may not find it useful to check that some of those exist and download them if you don't.

Steps to reproduce / fix

  • Start a docker container: docker run --rum -it ubuntu /bin/bash
  • apt update
  • apt install -y wget lsb-core // Note - if you need to install lsb-core or the script will die on the lsb_release
  • bash -c "$(wget -qO - https://raw.github.com/alrra/dotfiles/master/src/os/setup.sh)"

Detect VM Guest

I've been looking at dmidecode to determine if the machine is a VM. This would allow me to NOT install certain apps. Do you already have a method for doing this? If not, would you have any interest in adding it?

Link to question on StackExchange

-bash: compopt: command not found

First time user. (bit of a noob with These kind of things)
Getting an error saying
-bash: compopt: command not found
Recreate
$ cd
cd Down then tab complete
$ cd Down-bash: compopt: command not found loads

Hi! Love this repo!

Hi! I just stumbled upon your dotfile repo, and instantly I felt in love with it!

The best thing is, it supports both OS X and Ubuntu and the file organization is fabulous. I loved how clean and well commented the files are!

I want to ask, is this ready yet, can I use it for bootstrapping my new Mac/Ubuntu system?

Thanks for this gem! I hope this becomes de-facto dotfile repo!

I saw that you are also the core contributor of INIT project, I love that project!

On a serious note, I seriously recommend you to start something like INIT project for dotfiles. The current scenario of dotfiles is very messy (the gems are hidden in plain sight like mathiasbynens dotfiles repo) and it needs major overhaul. I think you will do excellent job with that project!

Hoping to hear from you, and I will be happy to help in any way I can! (I am crazy about dotfiles!)

Regards,
Arpit Jalan

tmux vi-copy unknown command

In new versions of tmux they changed the way how copy mode is done.

This commit tmux/tmux@76d6d36 reworks how copy-mode key tables works. -t emacs-copy and -t vi-copy are gone, and are roughly replaced with -Tcopy-mode and -Tcopy-mode-vi. There are other required changes in how these key bindings work (also summarized in the commit above), requiring the use of send-keys.

Here is the link of what needs to be done:
HowTo

Still Love this repo!

Hi Cătălin,

I hope you remember me, I still use your dofiles and really love them!

I wanted to wish you differently, so here's me wishing you a very Happy Birthday! May God bless you.

Please do maintain these dotfiles repo, I am sure that many people will find this useful, once they know about this. Your dofiles are unique!

Regards,
Arpit Jalan

Install missing `GPG` on macOS

Your gitconfig has gpsign = true however GPG isn't included in the installs. Which is incorrrect... the setting or GPG not being installed? On a similar note, which GPG client would you recommend for osx?

Errors with neocomplete

Do you usually have issues with the ~/.cache folder with neocomplete? I've been seeing permissions errors, while using vim, ever since forking your dotfiles. For some reason two of the folders are always owned by root:root. I'm thinking about adding a finalization step to the dotfiles to tweak the permissions...

sudo chown -R $USERNAME ~/.cache

screenshot from 2017-04-04 16-57-10

Change terminal theme

I followed the gif installation and then I don't quite understand the configuration(Sorry I am poor in English...). how can I change the background just like the picture you showed? Thanks for your replying.

Error when installing `ios-deploy`on macOS

When executing the command ionic build ios, the console got me to install ionic-sim and ionic-deploy, while installing ionic delploy gave the following error:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'install',
1 verbose cli   '--global',
1 verbose cli   '--unsafe-perm',
1 verbose cli   'ios-deploy' ]
2 info using [email protected]
3 info using [email protected]
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData ios-deploy
8 silly fetchNamedPackageData ios-deploy
9 silly mapToRegistry name ios-deploy
10 silly mapToRegistry using default registry
11 silly mapToRegistry registry https://registry.npmjs.org/
12 silly mapToRegistry data Result {
12 silly mapToRegistry   raw: 'ios-deploy',
12 silly mapToRegistry   scope: null,
12 silly mapToRegistry   escapedName: 'ios-deploy',
12 silly mapToRegistry   name: 'ios-deploy',
12 silly mapToRegistry   rawSpec: '',
12 silly mapToRegistry   spec: 'latest',
12 silly mapToRegistry   type: 'tag' }
13 silly mapToRegistry uri https://registry.npmjs.org/ios-deploy
14 verbose request uri https://registry.npmjs.org/ios-deploy
15 verbose request no auth needed
16 info attempt registry request try #1 at 13:36:31
17 verbose request id 59c449b54fc1ef34
18 verbose etag W/"58042da1-9e49"
19 verbose lastModified Mon, 17 Oct 2016 01:47:13 GMT
20 http request GET https://registry.npmjs.org/ios-deploy
21 http 304 https://registry.npmjs.org/ios-deploy
22 verbose headers { date: 'Fri, 23 Dec 2016 15:36:31 GMT',
22 verbose headers   via: '1.1 varnish',
22 verbose headers   'cache-control': 'max-age=300',
22 verbose headers   etag: 'W/"58042da1-9e49"',
22 verbose headers   age: '0',
22 verbose headers   connection: 'keep-alive',
22 verbose headers   'x-served-by': 'cache-gru7125-GRU',
22 verbose headers   'x-cache': 'HIT',
22 verbose headers   'x-cache-hits': '1',
22 verbose headers   'x-timer': 'S1482507391.635999,VS0,VE181',
22 verbose headers   vary: 'Accept-Encoding' }
23 silly get cb [ 304,
23 silly get   { date: 'Fri, 23 Dec 2016 15:36:31 GMT',
23 silly get     via: '1.1 varnish',
23 silly get     'cache-control': 'max-age=300',
23 silly get     etag: 'W/"58042da1-9e49"',
23 silly get     age: '0',
23 silly get     connection: 'keep-alive',
23 silly get     'x-served-by': 'cache-gru7125-GRU',
23 silly get     'x-cache': 'HIT',
23 silly get     'x-cache-hits': '1',
23 silly get     'x-timer': 'S1482507391.635999,VS0,VE181',
23 silly get     vary: 'Accept-Encoding' } ]
24 verbose etag https://registry.npmjs.org/ios-deploy from cache
25 verbose get saving ios-deploy to /Users/rubiamanfroi/.npm/registry.npmjs.org/ios-deploy/.cache.json
26 verbose correctMkdir /Users/rubiamanfroi/.npm correctMkdir not in flight; initializing
27 silly install normalizeTree
28 silly loadCurrentTree Finishing
29 silly loadIdealTree Starting
30 silly install loadIdealTree
31 silly cloneCurrentTree Starting
32 silly install cloneCurrentTreeToIdealTree
33 silly cloneCurrentTree Finishing
34 silly loadShrinkwrap Starting
35 silly install loadShrinkwrap
36 silly loadShrinkwrap Finishing
37 silly loadAllDepsIntoIdealTree Starting
38 silly install loadAllDepsIntoIdealTree
39 silly resolveWithNewModule [email protected] checking installable status
40 silly cache add args [ 'ios-deploy', null ]
41 verbose cache add spec ios-deploy
42 silly cache add parsed spec Result {
42 silly cache add   raw: 'ios-deploy',
42 silly cache add   scope: null,
42 silly cache add   escapedName: 'ios-deploy',
42 silly cache add   name: 'ios-deploy',
42 silly cache add   rawSpec: '',
42 silly cache add   spec: 'latest',
42 silly cache add   type: 'tag' }
43 silly addNamed ios-deploy@latest
44 verbose addNamed "latest" is being treated as a dist-tag for ios-deploy
45 info addNameTag [ 'ios-deploy', 'latest' ]
46 silly mapToRegistry name ios-deploy
47 silly mapToRegistry using default registry
48 silly mapToRegistry registry https://registry.npmjs.org/
49 silly mapToRegistry data Result {
49 silly mapToRegistry   raw: 'ios-deploy',
49 silly mapToRegistry   scope: null,
49 silly mapToRegistry   escapedName: 'ios-deploy',
49 silly mapToRegistry   name: 'ios-deploy',
49 silly mapToRegistry   rawSpec: '',
49 silly mapToRegistry   spec: 'latest',
49 silly mapToRegistry   type: 'tag' }
50 silly mapToRegistry uri https://registry.npmjs.org/ios-deploy
51 verbose addNameTag registry:https://registry.npmjs.org/ios-deploy not in flight; fetching
52 verbose get https://registry.npmjs.org/ios-deploy not expired, no request
53 silly addNameTag next cb for ios-deploy with tag latest
54 silly addNamed [email protected]
55 verbose addNamed "1.9.0" is a plain semver version for ios-deploy
56 silly cache afterAdd [email protected]
57 verbose afterAdd /Users/rubiamanfroi/.npm/ios-deploy/1.9.0/package/package.json not in flight; writing
58 verbose correctMkdir /Users/rubiamanfroi/.npm correctMkdir not in flight; initializing
59 verbose afterAdd /Users/rubiamanfroi/.npm/ios-deploy/1.9.0/package/package.json written
60 silly loadAllDepsIntoIdealTree Finishing
61 silly loadIdealTree Finishing
62 silly currentTree lib
63 silly idealTree lib
63 silly idealTree └── [email protected]
64 silly generateActionsToTake Starting
65 silly install generateActionsToTake
66 silly generateActionsToTake Finishing
67 silly diffTrees action count 1
68 silly diffTrees add [email protected]
69 silly decomposeActions action count 8
70 silly decomposeActions fetch [email protected]
71 silly decomposeActions extract [email protected]
72 silly decomposeActions test [email protected]
73 silly decomposeActions preinstall [email protected]
74 silly decomposeActions build [email protected]
75 silly decomposeActions install [email protected]
76 silly decomposeActions postinstall [email protected]
77 silly decomposeActions finalize [email protected]
78 silly runTopLevelLifecycles Starting
79 silly executeActions Starting
80 silly install executeActions
81 silly doSerial global-install 0
82 silly doParallel fetch 1
83 verbose correctMkdir /Users/rubiamanfroi/.npm/_locks correctMkdir not in flight; initializing
84 verbose lock using /Users/rubiamanfroi/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging
85 silly doParallel extract 1
86 silly extract [email protected]
87 verbose unbuild lib/node_modules/.staging/ios-deploy-298c9491
88 silly gentlyRm /usr/local/lib/node_modules/.staging/ios-deploy-298c9491 is being purged from base /usr/local
89 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/.staging/ios-deploy-298c9491
90 verbose tar unpack /Users/rubiamanfroi/.npm/ios-deploy/1.9.0/package.tgz
91 verbose tar unpacking to /usr/local/lib/node_modules/.staging/ios-deploy-298c9491
92 silly gentlyRm /usr/local/lib/node_modules/.staging/ios-deploy-298c9491 is being purged
93 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/.staging/ios-deploy-298c9491
94 silly gunzTarPerm modes [ '755', '644' ]
95 silly gunzTarPerm extractEntry package.json
96 silly gunzTarPerm extractEntry .npmignore
97 silly gunzTarPerm extractEntry README.md
98 silly gunzTarPerm extractEntry LICENSE
99 silly gunzTarPerm extractEntry demo/.npmignore
100 silly gunzTarPerm extractEntry demo/Entitlements.plist
101 silly gunzTarPerm extractEntry demo/Info.plist
102 silly gunzTarPerm extractEntry demo/Makefile
103 silly gunzTarPerm extractEntry demo/ResourceRules.plist
104 silly gunzTarPerm extractEntry demo/demo.c
105 silly gunzTarPerm extractEntry ios-deploy.xcodeproj/project.pbxproj
106 silly gunzTarPerm extractEntry ios-deploy.xcodeproj/project.xcworkspace/contents.xcworkspacedata
107 silly gunzTarPerm extractEntry ios-deploy.xcodeproj/project.xcworkspace/xcuserdata/shazron.xcuserdatad/UserInterfaceState.xcuserstate
108 silly gunzTarPerm extractEntry ios-deploy.xcodeproj/xcshareddata/xcschemes/ios-deploy-tests.xcscheme
109 silly gunzTarPerm extractEntry ios-deploy.xcodeproj/xcuserdata/shazron.xcuserdatad/xcschemes/ios-deploy-lib.xcscheme
110 silly gunzTarPerm extractEntry ios-deploy.xcodeproj/xcuserdata/shazron.xcuserdatad/xcschemes/ios-deploy.xcscheme
111 silly gunzTarPerm extractEntry ios-deploy.xcodeproj/xcuserdata/shazron.xcuserdatad/xcschemes/xcschememanagement.plist
112 silly gunzTarPerm extractEntry CONTRIBUTING.md
113 silly gunzTarPerm extractEntry src/ios-deploy/MobileDevice.h
114 silly gunzTarPerm extractEntry src/ios-deploy/errors.h
115 silly gunzTarPerm extractEntry src/ios-deploy/ios-deploy.m
116 silly gunzTarPerm extractEntry src/ios-deploy/version.h
117 silly gunzTarPerm extractEntry src/ios-deploy-lib/libios_deploy.h
118 silly gunzTarPerm extractEntry src/ios-deploy-lib/libios_deploy.m
119 silly gunzTarPerm extractEntry src/ios-deploy-tests/Info.plist
120 silly gunzTarPerm extractEntry src/ios-deploy-tests/ios_deploy_tests.m
121 silly gunzTarPerm extractEntry src/scripts/check_reqs.js
122 silly gunzTarPerm extractEntry src/scripts/lldb.py
123 silly gentlyRm /usr/local/lib/node_modules/.staging/ios-deploy-298c9491/node_modules is being purged
124 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/.staging/ios-deploy-298c9491/node_modules
125 silly doParallel preinstall 1
126 silly preinstall [email protected] /usr/local/lib/node_modules/.staging/ios-deploy-298c9491
127 info lifecycle [email protected]~preinstall: [email protected]
128 verbose lifecycle [email protected]~preinstall: unsafe-perm in lifecycle true
129 verbose lifecycle [email protected]~preinstall: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/.staging/ios-deploy-298c9491/node_modules/.bin:/usr/local/lib/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
130 verbose lifecycle [email protected]~preinstall: CWD: /usr/local/lib/node_modules/.staging/ios-deploy-298c9491
131 silly lifecycle [email protected]~preinstall: Args: [ '-c', './src/scripts/check_reqs.js && xcodebuild' ]
132 silly lifecycle [email protected]~preinstall: Returned: code: 1  signal: null
133 info lifecycle [email protected]~preinstall: Failed to exec preinstall script
134 verbose unlock done using /Users/rubiamanfroi/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging
135 silly rollbackFailedOptional Starting
136 silly rollbackFailedOptional Finishing
137 silly runTopLevelLifecycles Finishing
138 silly install printInstalled
139 verbose stack Error: [email protected] preinstall: `./src/scripts/check_reqs.js && xcodebuild`
139 verbose stack Exit status 1
139 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
139 verbose stack     at emitTwo (events.js:106:13)
139 verbose stack     at EventEmitter.emit (events.js:191:7)
139 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
139 verbose stack     at emitTwo (events.js:106:13)
139 verbose stack     at ChildProcess.emit (events.js:191:7)
139 verbose stack     at maybeClose (internal/child_process.js:877:16)
139 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
140 verbose pkgid [email protected]
141 verbose cwd /Users/rubiamanfroi/ofertas
142 error Darwin 16.0.0
143 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--global" "--unsafe-perm" "ios-deploy"
144 error node v6.9.2
145 error npm  v3.10.9
146 error code ELIFECYCLE
147 error [email protected] preinstall: `./src/scripts/check_reqs.js && xcodebuild`
147 error Exit status 1
148 error Failed at the [email protected] preinstall script './src/scripts/check_reqs.js && xcodebuild'.
148 error Make sure you have the latest version of node.js and npm installed.
148 error If you do, this is most likely a problem with the ios-deploy package,
148 error not with npm itself.
148 error Tell the author that this fails on your system:
148 error     ./src/scripts/check_reqs.js && xcodebuild
148 error You can get information on how to open an issue for this project with:
148 error     npm bugs ios-deploy
148 error Or if that isn't available, you can get their info via:
148 error     npm owner ls ios-deploy
148 error There is likely additional logging output above.
149 verbose exit [ 1, true ]

Thanks in advance

How to read shortcuts for tmux panes

I'm unable to understand the hotkeys to create a pane from Terminal using Tmux? I'm on OS X :)

Question: Could you please explain what I push to split the windows horizontally and vertically?

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# [ PREFIX + - ] Split window horizontally
bind - split-window -v

# [ PREFIX + | ] Split window vertically
bind | split-window -h

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# [ PREFIX + h/j/k/l ] Move from pane to pane
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

Add Mac App Store CLI?

It would be incredible cool, if you could implement the Mac App Store CLI (like you did with Homebrew and your brew_install cmd):

https://github.com/mas-cli/mas

Into your dotfiles. This is basically the only thing I personally need for your dotfiles to be absolutely perfect! 😎

HUGE thumbs up for the best dotfiles repo on Github πŸ‘

How to uninstall?

My question is, if you'd like to bring it on the clear stand (aka uninstall it)... what is the best way to do so?

New Vim configs cause `command not found` errors

I install dotfailes program and then i add vim plugin srcExplToggle and TagList, so, i add in ~/.vimrc

 map <leader>src :SrcExplToggle<CR>                                         
 let g:SrcExpl_winHeight = 8                                              
 let g:SrcExpl_refreshTime = 100                                          
 let g:SrcExpl_jumpKey = "<ENTER>"                                        
 let g:SrcExpl_gobackKey = "<SPACE>"                                      
 let g:SrcExpl_isUpdateTags = 0                                           

 map <leader>tli :Tlist<CR>                                               
 let Tlist_Inc_WinWidth  = 0                                              
 let Tlist_Exit_OnlyWindow = 0                                            
 let Tlist_Auto_Open = 0                                                  
 let Tlist_Use_Right_Window = 1     

but i see this the phrases..

/home/seungdols/.vimrc:1: command not found:  ----------------------------------------------------------------------\n
/home/seungdols/.vimrc:2: command not found: General
/home/seungdols/.vimrc:3: command not found:  ----------------------------------------------------------------------\n\nset nocompatible               
/home/seungdols/.vimrc:25: no matches found: backupskip+=/private/tmp/*

What can I tell you that you have the wrong?

Keyboard Remapping

Do you do any keyboard remapping for terminal? If so, what do you use? I generally remap CAPS_LOCK and I'm thinking about adding it to my fork.

For example:

# ~/.Xmodmap
clear lock
clear control
add control = Caps_Lock Control_L Control_R
keycode 66 = Control_L Caps_Lock NoSymbol NoSymbol

Your thoughts?

question: why do you prefer bash over zsh ?

Hi alrra, your dotfiles repo looks great.
I've been using oh-my-zsh for a while and now I want something more personalized and efficient, so I'm considering options. I would like to know your reasons to prefer bash over zsh.

`bin` is not symlinked

I thought /bin folder provided would symlink to /bin. But nothing is happening.
Else there is no point of adding executables under /bin folder.

Can anyone clarify on this?

Linux Mint?

Any plans to tweak the dotfiles for Linux Mint or another distro? If so, which distros and when?

ll command is not working in ubuntu.

ll command is not working in ubuntu. And shell becomes to much slow when terminal is open.How it can be uninstalled ?I think user will need that information too .

Bash 4 is not set as the default on macOS

Bash 4 IS being installed. The install script shows Bash (use latest version) is successful however Bash 4 does not remain the default. The shells file lists the new version and the $PATH is set properly. However, I'm having to manually execute chsh -s $(brew --prefix)/bin/bash to set it.

Any idea where to start? The bash.sh script is logical and the flow appears to be correct.

Ask for confimation before installing apps?

While developing, and when using the dotfiles in my university computer for example, I do not want/ cannot install the apps. Seems that it is the only thing it does not ask for confirmation, while also being the one that takes the most time

Fix "'xcodebuild' requires Xcode" error

By default, the xcode-select developer directory points to /Library/Developer/CommandLineTools, but since it doesn't get (immediately?) updated to point to the appropriate directory from within Xcode.app once Xcode is installed, the following error will be raised when trying to install anything that requires the Xcode CLTs:

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

This can be easily fixed by pointing the xcode-select developer directory to the appropriate directory from within Xcode.app.

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

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.