Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sercaneraslan/devtools
https://github.com/sercaneraslan/devtools
configuration dotfiles
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sercaneraslan/devtools
- Owner: sercaneraslan
- Created: 2014-05-13T16:28:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-05-16T08:42:25.000Z (over 1 year ago)
- Last Synced: 2024-04-14T07:19:13.227Z (9 months ago)
- Topics: configuration, dotfiles
- Homepage:
- Size: 40 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
đģ Terminal
I prefer iTerm2 as a terminal and Oh My ZSH as a shell.## đ¨ Themes
I prefer `robbyrussell` theme which is default.
How do I change my theme?
* Open the .zshrc file: `vim ~/.zshrc`
* Find the `ZSH_THEME="robbyrussell"` line, change it and save it.
* Execute the .zshrc file: `. ~/.zshrc`
* Close your terminal and open it again if it necessary.## đĢļ Aliases
You can find my aliases below, which I use often.```
alias b='git branch'
alias bb='git checkout -'
alias c='git checkout'
alias ci='git commit -am'
alias cx='clear'
alias d='git diff master -w --color'
alias dd='git diff'
alias ff='git ls-files |grep '
alias ga='git add .'
alias g='git grep'
alias l='git log -p'
alias m='git checkout master'
alias mm='git merge master'
alias mb='git merge'
alias n='git diff master --name-only'
alias p='git pull'
alias pp='git push'
alias rst='git reset --hard'
alias s='git status'
alias sl='git shortlog -s'
alias sln='git shortlog -s -n'
alias st='git stash'
alias sp='git stash pop'alias ni='npm install'
alias ns='npm run start'
alias nb='npm run build'
alias yi='yarn install'
alias ys='yarn start'
alias yb='yarn build'alias v='vim'
alias ss="'/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl'"alias bp='vim ~/.zshrc'
alias bpr='. ~/.zshrc'alias yv='sudo chown -R sercaneraslan:wheel'
alias de='cd ~/Desktop/'
```How do I add these aliases?
* Open the .zshrc file: `vim ~/.zshrc`
* Add all of them to the end of the file and save it.
* Execute the .zshrc file: `. ~/.zshrc`đšī¸ Text Editor
I prefer Sublime Text as a text editor.
PS I wrote a detailed Turkish blog post about Efficient usage of Sublime Text many years ago. If you are interested, you can read it.## âī¸ Settings
```js
{
"font_size": 12,
"margin": 0,
"default_line_ending": "unix",
"translate_tabs_to_spaces": true,
"highlight_line": true,
"highlight_modified_tabs": true,
"scroll_speed": 5.0,
"word_wrap": true,
"preview_on_click": false,
"ensure_newline_at_eof_on_save": true,
"scroll_past_end": true,
"theme": "Default Dark.sublime-theme",
"color_scheme": "Packages/Theme - Dark Material/schemes/Dark-Material.tmTheme",
"ignored_packages":["Vintage"],
"overlay_scroll_bars": "enabled",
"font_options": [ "gray_antialias" ],
"bold_folder_labels": true
}```
## đ¨ Themes
- [Theme - Dark Material](https://packagecontrol.io/packages/Theme%20-%20Dark%20Material)
- [Predawn](https://packagecontrol.io/packages/Predawn)## đĻ Packages
- [Git](https://packagecontrol.io/packages/Git)
- [Git Gutter](https://packagecontrol.io/packages/GitGutter)
- [BracketHighlighter](https://packagecontrol.io/packages/BracketHighlighter)
- [SublimeLinter](https://packagecontrol.io/packages/SublimeLinter)
- [AutoFileName](https://packagecontrol.io/packages/AutoFileName)
- [Pretty JSON](https://packagecontrol.io/packages/Pretty%20JSON)
- [Live Reload](https://packagecontrol.io/packages/LiveReload)How do I install Themes and Packages?
- Install [Package Control](https://packagecontrol.io/installation).
- Press `Cmd + Shift + P` combination.
- Type `Package Control: Install Package` and press `enter`.
- Write your theme or package name and press `enter`.## đĢ Snippets
- Open `Tools > Developer > New Snippet`.
- Replace with the following code and save as `cl.sublime-snippet`.```html
cl```