Created
December 6, 2017 09:35
-
-
Save zamber/cc893dda1972d371a96e42a0751f8fc3 to your computer and use it in GitHub Desktop.
Plain Mac bash -> zsh with dotfiles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Useless-Piece-of-ht:~ zamber$ cd Documents/GitHub/dotfiles/ | |
Useless-Piece-of-ht:dotfiles zamber$ ls | |
README.md dotbot gitignore install.conf.yaml zsh | |
SSH.md gitconfig install tmux.conf zshrc | |
Useless-Piece-of-ht:dotfiles zamber$ cat README.md | |
# dotfiles | |
## Optional SSH key magic | |
`~.ssh/config` | |
host github.com | |
HostName github.com | |
IdentityFile ~/.ssh/id_rsa_@ | |
User git | |
## Installation | |
git clone --recursive [email protected]:zamber/dotfiles.git ~/.dotfiles | |
cd ~/.dotfiles && ./install | |
## Style | |
Font: Inconsolata mono 13pt systemwide (I'm getting blind) | |
Color schemes: | |
- Desktop: Numix Dark with red accents, Gnome SHELL with dark theme | |
- Sublime Edit: Afterglow-orange | |
- Terminal: Afterglow | |
## Tmux Cheatcheet | |
### Keybindings | |
- Ctrl+\ - prefix | |
+ e - rename tmux session | |
+ r - reload config | |
+ & - kill window | |
+ c - new window | |
+ p/n - previous/next window | |
+ x - kill pane | |
+ arrows - pane navigation | |
+ -/| - split panes vertically/horizontally | |
+ hold prefix + arrows - resize active pane | |
### Status line | |
hostname $ session-name [windows] < - - - > [load] | date | |
## TODO: | |
Check out: | |
- https://github.com/firehol/netdata | |
- https://medium.com/square-corner-blog/fly-vim-first-class-610f1a39b572#.vs8ko2fr2 | |
Useless-Piece-of-ht:dotfiles zamber$ ./install | |
All targets have been cleaned | |
Creating link ~/.gitignore -> /Users/zamber/Documents/GitHub/dotfiles/gitignore | |
Creating link ~/.tmux.conf -> /Users/zamber/Documents/GitHub/dotfiles/tmux.conf | |
~/.gitconfig already exists but is a regular file or directory | |
Creating link ~/.zsh -> /Users/zamber/Documents/GitHub/dotfiles/zsh | |
Creating link ~/.zshrc -> /Users/zamber/Documents/GitHub/dotfiles/zshrc | |
Some links were not successfully set up | |
Updating submodules [git submodule update --init --recursive] | |
Setting git email [git config user.email "[email protected]"] | |
Setting git username [git config user.name "Piotr Zaborowski"] | |
All commands have been executed | |
==> Some tasks were not executed successfully | |
Useless-Piece-of-ht:dotfiles zamber$ ln -s /Users/zamber/Documents/GitHub/dotfiles/ ~/.dotfiles/ | |
ln: /Users/zamber/.dotfiles/: No such file or directory | |
Useless-Piece-of-ht:dotfiles zamber$ ln -s /Users/zamber/Documents/GitHub/dotfiles/ ~/.dotfiles | |
Useless-Piece-of-ht:dotfiles zamber$ cd ~/.dotfiles | |
Useless-Piece-of-ht:.dotfiles zamber$ ls | |
# Changing user information for zamber. | |
README.md dotbot gitignore install.conf.yaml zsh | |
SSH.md gitconfig install tmux.conf zshrc | |
Useless-Piece-of-ht:.dotfiles zamber$ cat install | |
#!/usr/bin/env bash | |
set -e | |
CONFIG="install.conf.yaml" | |
DOTBOT_DIR="dotbot" | |
DOTBOT_BIN="bin/dotbot" | |
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
cd "${BASEDIR}" | |
git submodule update --init --recursive "${DOTBOT_DIR}" | |
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}" | |
Useless-Piece-of-ht:.dotfiles zamber$ brew install zsh | |
Updating Homebrew... | |
==> Auto-updated Homebrew! | |
Updated 2 taps (homebrew/core, caskroom/cask). | |
==> Updated Formulae | |
icu4c ✔ couchdb gandi.cli libcdr mapnik pazpar2 tarantool | |
node ✔ cromwell gmime liblcf mimic pilosa tasksh | |
arangodb druid hadolint libmspub mpd pinentry tectonic | |
azure-cli dwdiff harfbuzz libphonenumber mrboom ppsspp widelands | |
bazel etcd hfstospell libtins natalie s-nail yaz | |
chakra fcitx-remote-for-osx kops libvisio node@6 sile zebra | |
commandbox freeling krb5 libxc osc sql-translator zorba | |
==> Installing dependencies for zsh: pcre | |
==> Installing zsh dependency: pcre | |
==> Downloading https://homebrew.bintray.com/bottles/pcre-8.41.high_sierra.bottle.tar.gz | |
######################################################################## 100.0% | |
==> Pouring pcre-8.41.high_sierra.bottle.tar.gz | |
🍺 /usr/local/Cellar/pcre/8.41: 204 files, 5.3MB | |
==> Installing zsh | |
==> Downloading https://homebrew.bintray.com/bottles/zsh-5.4.2_1.high_sierra.bottle.tar.gz | |
######################################################################## 100.0% | |
==> Pouring zsh-5.4.2_1.high_sierra.bottle.tar.gz | |
🍺 /usr/local/Cellar/zsh/5.4.2_1: 1,392 files, 11.9MB | |
Useless-Piece-of-ht:.dotfiles zamber$ chsh | |
Changing shell for zamber. | |
Password for zamber: | |
Useless-Piece-of-ht:.dotfiles zamber$ /bin/zsh | |
global conf zsh | |
global conf antigen.zsh | |
global bundle git | |
global bundle tmux | |
global bundle rsync | |
global bundle command-not-found | |
global bundle willghatch/zsh-cdr | |
global bundle zsh-users/zsh-syntax-highlighting | |
applying antigen... | |
Installing robbyrussell/oh-my-zsh... Done. Took 24s. | |
Installing stevenmirabito/neat... Done. Took 3s. | |
Installing zsh-users/zsh-completions... Done. Took 6s. | |
Installing willghatch/zsh-cdr... Done. Took 1s. | |
Installing zsh-users/zsh-syntax-highlighting... Done. Took 5s. | |
zsh tmux plugin: tmux not found. Please install tmux before using this plugin. | |
global conf local.zsh | |
df: option requires an argument -- T | |
usage: df [-b | -H | -h | -k | -m | -g | -P] [-ailn] [-T type] [-t] [filesystem ...] | |
~/.dotfiles ❯ master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment