Contents

System/OS
2022.02.25 17:52

개인적으로 쓰고 있는 zshrc 파일

Views 3400 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

최근에 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






?

List of Articles
No. Category Subject Author Date Views
204 System/OS 개인적으로 쓰고 있는 bash_profile hooni 2015.01.16 2001
203 System/OS [mac] 패키지 매니저, MacPort hooni 2015.01.03 2137
202 System/OS [svn] Can't convert string from native encoding to 'UTF-8' 메시지가 나오는 경우 hooni 2014.12.18 2195
201 System/OS [linux] yum 업데이트 시 커널 제외하기 hooni 2014.09.11 2314
200 System/OS [mac] Mac OS 패키지 매니저, HomeBrew file hooni 2015.01.03 2546
199 System/OS [svn] SVN trunk 변경사항 되돌리기 (SVN Rollback) hooni 2014.11.27 2606
198 System/OS [svn] 하나의 SVN에서 멀티 저장소 (One svnserve, multiple repositories) hooni 2015.01.02 2625
197 System/OS [mac] How to uninstall MySQL on Mac OS. hooni 2017.11.08 2632
196 System/OS [virtualbox] VirtualBox에 Ubuntu 설치하기 file hooni 2019.11.22 2640
195 System/OS [mac] Homebrew/rvm/cocoapod setting hooni 2017.07.29 2647
194 System/OS [linux] iptables 초간단 세팅 스크립트 hooni 2017.09.26 2695
193 System/OS [linux] CentOS 에 APM 설치하기 hooni 2015.01.02 2974
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 17 Next
/ 17