Git Product home page Git Product logo

dotfiles's Introduction

Dotfiles

Tested with OS X 10.7 to 12.6. Colors based on ahmetsulek's Flat Terminal

https://user-images.githubusercontent.com/3742992/191121416-f75e515b-da46-4853-ba56-e3c14bbbb789.png

Installation

  • First deal with your current .zsh file by backing up and removing if you have one
  • Navigate to where you've cloned the repo and run:
ln -s $(pwd)/.zshrc $HOME/.zshrc
ln -s $(pwd)/.gitignore $HOME/.gitignore
  • Open the .terminal file and change profile preferences to set it as the default

Aliases & Features

  • s - opens a file in sublime text
  • si <cmd> - open the result of a command in text editor, eg si git diff
  • sman <cmd> - open the man page of a command in text editor, eg sman top
  • o - short for open. 'o' opens the current directory in finder
  • l - list files in long format
  • la - list all files including dotfiles, in long format
  • trash <file> - move file to trash
  • serve starts a web server at the current directory
navigation
  • z - jump to commonly used directories
  • bk - go back a directory
  • desktop - cd ~/Desktop
  • .. - cd ..
  • ... - cd ../..
  • .... - cd ../../..
  • ..... - cd ../../../..
git
  • gs - git status
  • ga - git add .
  • gc <message> - git commit -m
  • gca <message> - git commit -a -m
  • gcap <message> - git commit -a -m <message> && git push
  • gpush - git push
  • gpull - git pull
  • gdiff - git diff
  • gk - git checkout
  • gsetup - initialises repo with a given url
  • gopen - opens current repository in a browser more info

Auto-installed scripts

Additional scripts installed into ~/.bash_scripts/ on first run

  • z jump script - 'Tracks your most used directories, based on frequency'
  • git-completion - Autocomplete for git from Github's main repository
  • trash - 'trash allows trashing of files instead of tempting fate with rm'
  • git-open - 'Type git-open to open the GitHub page or website for a repository in your browser'

Dependencies

  • git
  • node.js/npm

Sublime style keybindings for Xcode

Symlink or copy Sublime.idekeybindings into ~/Library/Developer/Xcode/UserData/KeyBindings/

ln -s $(pwd)/Sublime.idekeybindings ~/Library/Developer/Xcode/UserData/KeyBindings/Sublime.idekeybindings

Key bindings iTerm2 (manual entry)

text-editor style line navigation

Combo Action Send
⌘← "HEX CODE" 0x01
⌘→ "HEX CODE" 0x05
⌥← "SEND ESC SEQ" b
⌥→ "SEND ESC SEQ" f

dotfiles's People

Contributors

haxiomic 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

Watchers

 avatar  avatar  avatar  avatar

dotfiles's Issues

Consider a move to Chezmoi

I saw this repository and thought I might share chezmoi.

Manage your dotfiles across multiple diverse machines, securely.

Disclaimer I have not yet migrated my dotfiles to Chezmoi

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.