zshrc

    0熱度

    2回答

    後很多年,我給zsh一試。我有 alias rsync='rsync -av --progress --stats --human-readable' ,也有很多像這樣的別名在我的bash的.profile alias workin='function _workin(){ rsync -avE --progress --stats --human-readable -e ssh [email

    5熱度

    3回答

    我喜歡ZSH shell及其主題,但速度很慢。加載需要7到10秒。即使加載速度很慢,我也將它用作VS代碼中的集成終端。這是我的.zshrc文件的副本。 # Path to your oh-my-zsh installation. export ZSH=$HOME/.oh-my-zsh export PS1="[%* - %D] %d %% " # Set name of the them

    1熱度

    2回答

    這裏是我的.zshrc: alias inst="adb install -r -d" notify() { start=$(date +%s) "[email protected]" notify-send "\"$(echo [email protected])\" took $(($(date +%s) - start)) seconds to finish

    0熱度

    1回答

    我一直在使用DeepIn 15.04基於Debian 8過,我裝哦,我-的zsh,併爲「清除」類似下面的命令創建別名: alias clear='cls' # inside ~/.zshrc 現在,當我重新加載zsh的終端,做「 cls'然後我得到錯誤爲「zsh:command not found:cls」 這個錯誤背後的原因是什麼,什麼是可能的解決方案。謝謝。

    0熱度

    1回答

    我使用Phusion客運5.1.8,並建立在我的.zshrc export SECRET_KEY_BASE='secure_key_base' export DATABASE_NAME='db_production' export DATABASE_PASSWORD='secure_db_pass' 以下,然後我做了source ~/.zshrc與sudo service nginx re

    0熱度

    2回答

    我有這個別名我.zshrc文件: alias rmcons="docker rm -f $(docker ps -aq)" 但試圖執行它之後,就只刪除一個容器,然後將其打印 $rmcons ef8197f147fb zsh: command not found: c2ea2673f9e4 zsh: command not found: 4603059f1618 zsh: command

    1熱度

    2回答

    嗨我試圖設置一個別名作爲快捷方式去cli中的特定目錄。我運行下面的命令: alias react=Documents/More/Reacting/News 後,我鍵入反應 ,並帶我到正確的位置。但是,當我打開一個新標籤時,此命令不再起作用。 有什麼建議嗎?

    0熱度

    1回答

    我正嘗試使用zsh和一組舊點文件設置新的工作環境。我有這個與git信息的錯誤,我不知道如何解決它。這裏儘快從iTerm2錯誤,因爲我的CD到我的dotfiles回購: ~ ✔ cd dotfiles _git_prompt_color:3: = not found dotfiles ✔ _git_prompt_color:3: = not found 我假設的問題圍繞_git_prompt_col

    1熱度

    3回答

    字符串我寫了一個小功能,即「翻譯」一個Windows路徑到OSX路徑並打開它在Finder中。該功能與bash完美配合,但與zsh無關(我使用的是oh-my-zsh)。 的問題是,它解析特定反斜線組合像\樓\ A \ 01 \ 02 \ 03 ... 所以像 "\60_Project\6038_Projekt_Part\05_development\assets\img\facebook" 一個字

    1熱度

    2回答

    我用哦,MY-的zsh一個有.zshrc以下別名: alias composer="php -d memory_limit=-1 $(which composer)" 我得到以下輸出: $ composer Could not open input file: composer: 併爲: $ which composer composer: aliased to php -d memo