mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Minor fix
This commit is contained in:
parent
16f47e3907
commit
1b22e3241a
5 changed files with 15 additions and 6 deletions
|
|
@ -1,9 +1,12 @@
|
||||||
# ~/.config/zsh/.zshrc
|
# ~/.config/zsh/.zshrc
|
||||||
# ln -s ~/.dotfiles/wsl/.zshrc ~/.config/zsh/.zshrc
|
# ln -s ~/.dotfiles/mac/.zshrc ~/.config/zsh/.zshrc
|
||||||
### Variables ###
|
### Variables ###
|
||||||
|
|
||||||
export DOTFILES="$HOME/.dotfiles"
|
export DOTFILES="$HOME/.dotfiles"
|
||||||
source $DOTFILES/zsh/*.zsh
|
export PATH=/opt/homebrew/bin:/opt/homebrew/sbin:$PATH
|
||||||
|
for file in $DOTFILES/zsh/*.zsh; do
|
||||||
|
source $file
|
||||||
|
done
|
||||||
export ARCHFLAGS="-arch arm64"
|
export ARCHFLAGS="-arch arm64"
|
||||||
|
|
||||||
### Navigation ###
|
### Navigation ###
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ Get-ChildItem -Path $DOTFILES\powershell_private -Filter *.ps1 | ForEach-Object
|
||||||
# PowerShell Equivalents #
|
# PowerShell Equivalents #
|
||||||
|
|
||||||
# Set-Alias "curl" "Invoke-WebRequest"
|
# Set-Alias "curl" "Invoke-WebRequest"
|
||||||
Set-Alias "man" "Get-Help"
|
# Set-Alias "man" "Get-Help"
|
||||||
Set-Alias "kill" "Stop-Process"
|
Set-Alias "kill" "Stop-Process"
|
||||||
Set-Alias "open" "Invoke-Item" # Use ii instead of open
|
Set-Alias "open" "Invoke-Item" # Use ii instead of open
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool
|
||||||
### Dotfiles Setup ###
|
### Dotfiles Setup ###
|
||||||
export $DOTFILES="$HOME/.dotfiles"
|
export $DOTFILES="$HOME/.dotfiles"
|
||||||
git clone https://www.github.com/js0ny/dotfiles.git $DOTFILES
|
git clone https://www.github.com/js0ny/dotfiles.git $DOTFILES
|
||||||
|
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||||
ln -s $DOTFILES/.condarc ~/.condarc
|
ln -s $DOTFILES/.condarc ~/.condarc
|
||||||
ln -s $DOTFILES/.gitconfig ~/.gitconfig
|
ln -s $DOTFILES/.gitconfig ~/.gitconfig
|
||||||
ln -s $DOTFILES/.haskeline ~/.haskeline
|
ln -s $DOTFILES/.haskeline ~/.haskeline
|
||||||
|
|
@ -142,4 +143,9 @@ mas install 451108668 # QQ
|
||||||
# Oh My Zsh
|
# Oh My Zsh
|
||||||
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
||||||
sudo rm -rf ~/.zshrc
|
sudo rm -rf ~/.zshrc
|
||||||
ln -s $DOTFILES/mac/.zshrc ~/.zshrc
|
mkdir -p ~/.config/zsh
|
||||||
|
ln -s $DOTFILES/zsh/.zshenv ~/.zshenv
|
||||||
|
ln -s $DOTFILES/mac/.zshrc ~/.config/zsh/.zshrc
|
||||||
|
source ~/.config/zsh/.zshrc
|
||||||
|
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH/custom/plugins/zsh-autosuggestions
|
||||||
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH/custom/plugins/zsh-syntax-highlighting
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
" ~/.config/vscode/vscode.vimrc
|
" ~/.config/vscode/vscode.vimrc
|
||||||
" New-Item -ItemType SymbolicLink -Path ~\.config\vscode\vscode.vimrc -Target ~\.dotfiles\vscode\vscode.vimrc
|
" New-Item -ItemType SymbolicLink -Path ~\.config\vscode\vscode.vimrc -Target ~\.dotfiles\vscode\vscode.vimrc
|
||||||
" mkdir -p ~/.config/vscode && ln -s ~/.config/vscode/vscode.vimrc ~/.vimrc
|
" mkdir -p ~/.config/vscode && ln -s ~/.dotfiles/vscode/vscode.vimrc ~/.config/vscode/vscode.vimrc
|
||||||
" And go to vscode vim setting:
|
" And go to vscode vim setting:
|
||||||
"vim.vimrc.path": "$HOME/.config/vscode/vscode.vimrc",
|
"vim.vimrc.path": "$HOME/.config/vscode/vscode.vimrc",
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
### ZSH Config ###
|
### ZSH Config ###
|
||||||
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||||
export ZSH="$HOME/.oh-my-zsh"
|
export ZSH="$ZDOTDIR/ohmyzsh"
|
||||||
ZSH_THEME="avit"
|
ZSH_THEME="avit"
|
||||||
# DISABLE_MAGIC_FUNCTIONS="true"
|
# DISABLE_MAGIC_FUNCTIONS="true"
|
||||||
# DISABLE_LS_COLORS="true"
|
# DISABLE_LS_COLORS="true"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue