System/OS
2022.02.25 17:52
개인적으로 쓰고 있는 zshrc 파일
조회 수 824 댓글 0
최근에 Flutter 추가 ㅋㅋㅋ
#!/bin/zsh
# Add commonly used folders to $PATH
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
# Specify default editor. Possible values: vim, nano, ed etc.
export EDITOR=vim
# File search functions
function f() { find . -iname "*$1*" ${@:2} }
function r() { grep "$1" ${@:2} -R . }
# Create a folder and move into it in one command
function mkcd() { mkdir -p "$@" && cd "$_"; }
# Custom aliases
alias vm='~/bin/vm_manage.sh'
alias gg='~/bin/vm_console.sh'
alias zz='~/bin/vm_desktop.sh'
alias console='~/bin/vm_console.sh'
alias desktop='~/bin/vm_desktop.sh'
alias ll='ls -p'
# Example aliases
alias cppcompile='c++ -std=c++11 -stdlib=libc++'
alias g='git'
alias python='python3'
alias pip='pip3'
alias ll='ls -alp'
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Java 1.8
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
export PATH=$HOME/.nodebrew/current/bin:$PATH
# Flutter
export PATH=$PATH:~/flutter/bin
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
22 | System/OS | How to Install and Use wget on Mac | hooni | 2020.09.03 | 1277 |
21 | System/OS | [linux] yum 업데이트 시 커널 제외하기 | hooni | 2014.09.11 | 1256 |
20 | System/OS | Configure Postfix to Use Gmail SMTP on Ubuntu 18.04 | hooni | 2020.02.07 | 1248 |
19 | System/OS | [linux] iptables 초간단 세팅 스크립트 | hooni | 2017.09.26 | 1237 |
18 | System/OS | 네트워크 용어 정리 | hooni | 2022.11.20 | 1208 |
17 | System/OS | Enable Safari Hidden Debug Menu in Mac OS X | hooni | 2017.02.07 | 1142 |
16 | System/OS | Enable the Develop Menu in Safari | hooni | 2017.02.07 | 1069 |
15 | System/OS | [mac] Homebrew/rvm/cocoapod setting | hooni | 2017.07.29 | 997 |
14 | System/OS | [svn] Can't convert string from native encoding to 'UTF-8' 메시지가 나오는 경우 | hooni | 2014.12.18 | 993 |
13 | System/OS | [mac] 패키지 매니저, MacPort | hooni | 2015.01.03 | 969 |
12 | System/OS | [mac] VirtualBox 실행 스크립트와 bash_profile 설정 | hooni | 2020.07.08 | 954 |
11 | System/OS | [펌] 마이크로서비스, 모노리포, SRE, ... 덮어놓고 구글 따라하면 안 되는 기술들 | hooni | 2020.10.15 | 943 |