Skip to content

viviel/.my-zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-zsh

oh-my-zsh compact

Features

Useage

First, you need install zsh.

Clone this repository to your user home.

Add this content to ~/.zshrc file.

# Load zsh config
export ZSH=~/.my-zsh
export HISTFILE=~/.zsh_history
source $ZSH/my-zsh.sh

You can use it directly here.

If you need to customize some variables, such as JAVA_ HOME, you can edit this file ~/.my-zsh/profile. (You need to create this file first)

For example:

set or unset proxy for terminal

JAVA_HOME=`/usr/libexec/java_home`

function set_proxy() {
    export all_proxy=http://127.0.0.1:1234
    export http_proxy=http://127.0.0.1:1234
    export https_proxy=http://127.0.0.1:1234
}

function unset_proxy() {
    unset all_proxy
    unset http_proxy
    unset https_proxy
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages