Skip to content

Instantly share code, notes, and snippets.

@Laev
Laev / .p10k.zsh
Created July 11, 2025 09:40
Asuna theme for zsh4humans
# ASUNA Theme Based P10k
# Generated by Powerlevel10k configuration wizard on 2025-07-11 at 15:06 CST.
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 37983.
# Wizard options: powerline, unicode, lean, 24h time, 2 lines, disconnected, no frame,
# sparse, concise, instant_prompt=auto-quiet.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with lean prompt style. Type `p10k configure` to generate
# your own config based on it.
@Laev
Laev / asuna.zsh-theme
Last active July 11, 2025 09:38
Asuna theme for oh-my-zsh
# ASUNA Theme Based AVIT
# settings
typeset +H _current_dir="%{$fg_bold[blue]%}%3~%{$reset_color%} "
typeset +H _return_status="%{$fg_bold[red]%}%(?..⍉)%{$reset_color%}"
typeset +H _hist_no="%{$fg[grey]%}%h%{$reset_color%}"
PROMPT='
%{$terminfo[bold]$fg[red]%}#%{$reset_color%} \
$(_user_host)${_current_dir}\
@Laev
Laev / deployer.config.js
Last active September 18, 2021 01:34
node-deployer configs
module.exports = {
dir: "./lib", // 要上传的文件夹路径
pattern: "", // 正则匹配文件,默认为全部文件
server: "", // ali || sftp 可传递数组,但需传递对应的配置
// 阿里云配置 详见 https://github.com/ali-sdk/ali-oss#ossoptions
aliConfig: {
accessKeyId: "",
accessKeySecret: "",
region: "",
prefix: "",