System/OS
2022.02.25 17:52
개인적으로 쓰고 있는 zshrc 파일
조회 수 1035 댓글 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
-
[linux] wget 명령 사용 예제
-
[mac] VirtualBox 실행 스크립트와 bash_profile 설정
-
How to Install and Use wget on Mac
-
Apache CORS 설정
-
[펌] 마이크로서비스, 모노리포, SRE, ... 덮어놓고 구글 따라하면 안 되는 기술들
-
[apache2] Redirect HTTP to HTTPS
-
개인적으로 쓰고 있는 zshrc 파일
-
맥에서 포트 확인하고 닫기 (mac)
-
[macos] How to Fix ‘You Shut Down Your Computer Because of a Problem’
-
네트워크 용어 정리