System/OS
2022.02.25 17:52
개인적으로 쓰고 있는 zshrc 파일
Views 1033 Comment 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
No. | Category | Subject | Author | Date | Views |
---|---|---|---|---|---|
202 | System/OS | [apache2] Redirect HTTP to HTTPS | hooni | 2022.02.03 | 867 |
201 | System/OS | [macos] How to Fix ‘You Shut Down Your Computer Because of a Problem’ | hooni | 2022.06.01 | 981 |
200 | System/OS | 개인적으로 쓰고 있는 bash_profile | hooni | 2015.01.16 | 1001 |
199 | System/OS | [linux] The Ultimate Wget Download Guide With 15 Awesome Examples | hooni | 2020.05.26 | 1003 |
» | System/OS | 개인적으로 쓰고 있는 zshrc 파일 | hooni | 2022.02.25 | 1033 |
197 | System/OS | [mac] How to uninstall MySQL on Mac OS. | hooni | 2017.11.08 | 1052 |
196 | System/OS | [virtualbox] VirtualBox에 Ubuntu 설치하기 | hooni | 2019.11.22 | 1080 |
195 | System/OS | [펌] 마이크로서비스, 모노리포, SRE, ... 덮어놓고 구글 따라하면 안 되는 기술들 | hooni | 2020.10.15 | 1119 |
194 | System/OS | [mac] 패키지 매니저, MacPort | hooni | 2015.01.03 | 1135 |
193 | System/OS | 콘솔에서 패스워드 걸린 zip 압축하는 명령 | hooni | 2018.03.02 | 1140 |
192 | System/OS | [svn] Can't convert string from native encoding to 'UTF-8' 메시지가 나오는 경우 | hooni | 2014.12.18 | 1167 |
191 | System/OS | [mac] OS X 엘 캐피탄에서 Soudflower 사용하기 2 | hooni | 2016.10.03 | 1186 |