Skip to content

Commit

Permalink
update shell
Browse files Browse the repository at this point in the history
  • Loading branch information
GodD authored and GodD committed Oct 3, 2022
1 parent d805495 commit 920326d
Show file tree
Hide file tree
Showing 4 changed files with 727 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _install/macos.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ clone_repo() {
git clone https://github.com/GodD6366/dotfiles.git

cd ./dotfiles
rm -rf .git
# rm -rf .git
}

setup_omz() {
Expand Down Expand Up @@ -104,7 +104,7 @@ setup_omz() {
}

brew_bundle() {
brew bundle
brew bundle --file="~/dotfiles/macos/$(whoami)/Brewfile"
}

install_nodejs() {
Expand Down
4 changes: 2 additions & 2 deletions install_backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ install_to_crontab() {
echo
echo SHELL=$SHELL > crontab_conf
echo PATH=$PATH >> crontab_conf
echo "00 11 * * * $script > /tmp/dotfiles_Backup.log && osascript -e 'display notification \"$WD/brew/backup\" with title \"dotfiles 备份成功, 已上传至 GitHub\" '" >> crontab_conf
echo "00 20 * * * $script > /tmp/dotfiles_Backup.log && osascript -e 'display notification \"$WD/brew/backup\" with title \"dotfiles 备份成功, 已上传至 GitHub\" '" >> crontab_conf
echo "00 11 * * * $script > /tmp/dotfiles_Backup.log && osascript -e 'display notification \"$WD/backup\" with title \"dotfiles 备份成功, 已上传至 GitHub\" '" >> crontab_conf
echo "00 20 * * * $script > /tmp/dotfiles_Backup.log && osascript -e 'display notification \"$WD/backup\" with title \"dotfiles 备份成功, 已上传至 GitHub\" '" >> crontab_conf
echo "运行 \$ crontab -e"

echo "插入以下内容: "
Expand Down
147 changes: 147 additions & 0 deletions macos/godd/Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
tap "1password/tap"
tap "bigwig-club/brew"
tap "buo/cask-upgrade"
tap "cloudflare/cloudflare"
tap "github/gh"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/cask-versions"
tap "homebrew/core"
tap "homebrew/services"
# Shell extension to jump to frequently used directories
brew "autojump"
# Get a file from an HTTP, HTTPS or FTP server
brew "curl"
# View disk space usage and delete unwanted data, fast
brew "dua-cli"
# Fast and simple Node.js version manager
brew "fnm"
# Distributed revision control system
brew "git"
# Mac App Store command-line interface
brew "mas"
# Interpreted, interactive, object-oriented programming language
brew "[email protected]"
# User interface to the TELNET protocol
brew "telnet"
# Programmatically correct mistyped console commands
brew "thefuck"
# Internet file retriever
brew "wget"
# Command-line helper for the 1Password password manager
cask "1password-cli"
cask "account-switcher"
# Transfer files from and to an Android smartphone
cask "android-file-transfer"
# Android SDK component
cask "android-platform-tools"
# Application uninstaller
cask "appcleaner"
# Tool to flash OS images to SD cards & USB drives
cask "balenaetcher"
# Tool to list all active shortcuts of the current application
cask "cheatsheet"
# Rule-based custom proxy with GUI based on clash
cask "clashx-pro"
# Voice and text chat software
cask "discord"
# Typeface made for developers
cask "font-jetbrains-mono"
# Developer targeted fonts with a high number of glyphs
cask "font-jetbrains-mono-nerd-font"
# GIT client
cask "fork"
# Tool to set light or dark appearance on a per-app basis
cask "gray"
# Free and open-source media player
cask "iina"
# Terminal emulator as alternative to Apple's Terminal app
cask "iterm2"
# File archiver
cask "keka"
# Helper application for the Keka file archiver
cask "kekaexternalhelper"
# Switch input method per application
cask "keyboardholder"
# Open-source firewall to block unknown outgoing connections
cask "lulu"
# Simple and elegant markdown editor
cask "mark-text"
# Tool to control external monitor brightness & volume
cask "monitorcontrol"
# Smooths scrolling and set mouse scroll directions independently
cask "mos"
# Reverse proxy, secure introspectable tunnels to localhost
cask "ngrok"
# App to write, plan, collaborate, and get organized
cask "notion"
cask "paper"
# Tool for uploading images
cask "picgo"
# QuickLook plug-in that renders source code with syntax highlighting
cask "qlcolorcode"
# Display image info and preview unsupported formats in QuickLook
cask "qlimagesize"
# QuickLook generator for Markdown files
cask "qlmarkdown"
# QuickLook plugin for plaintext files without an extension
cask "qlstephen"
cask "qlvideo"
# Instant messaging tool
cask "qq"
# QuickLook plugin for JSON files
cask "quicklook-json"
# QuickLook generator for Adobe Swatch Exchange files
cask "quicklookase"
# Control your tools with a few keystrokes
cask "raycast"
# Screenshot measurement and annotation tool
cask "shottr"
# Snip or pin screenshots
cask "snipaste"
# Music streaming service
cask "spotify"
# System monitor for the menu bar
cask "stats"
# Network toolbox
cask "surge"
# App to switch hosts
cask "switchhosts"
# Terminal emulator, SSH and serial client
cask "tabby"
# Messaging app with a focus on speed and security
cask "telegram"
# Finder extension for opening a terminal from the current directory
cask "termhere"
# General-purpose text editor
cask "textmate"
# Remote control software
cask "todesk"
# Remote desktop application focusing on security
cask "vnc-viewer"
# Rust-based terminal
cask "warp"
cask "webpquicklook"
# Third-party NetEase cloud player
cask "yesplaymusic"
mas "Bob", id: 1630034110
mas "Disk Speed Test", id: 425264550
mas "Dropover", id: 1355679052
mas "Infuse", id: 1136220934
mas "Keynote 讲演", id: 409183694
mas "Magnet", id: 441258766
mas "Microsoft Remote Desktop", id: 1295203466
mas "PasteNow", id: 1552536109
mas "PushDeer", id: 1596771139
mas "RunCat", id: 1429033973
mas "ServerCat", id: 1501532023
mas "Speedtest", id: 1153157709
mas "The Unarchiver", id: 425424353
mas "WireGuard", id: 1451685025
mas "Xcode", id: 497799835
mas "Xnip", id: 1221250572
mas "企业微信", id: 1189898970
mas "微信", id: 836500024
mas "钉钉", id: 1435447041
mas "飞书", id: 1551632588
Loading

0 comments on commit 920326d

Please sign in to comment.