Skip to content

acefei/ace-profile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation:

Linux

curl -fsSL https://raw.githubusercontent.com/acefei/ace-profile/master/installer/install.sh | bash

or

wget -qO- https://raw.githubusercontent.com/acefei/ace-profile/master/installer/install.sh | bash

In GFW

curl -fsSL https://gitee.com/acefei/ace-profile/raw/master/installer/install.sh | bash -s gitee

Note:

  1. Sometime the cmd dosn't work on WSL, it might be caused by DOS line-endings, that need add tr -d '\r' ahead of bash, like wget -qO- https://raw.githubusercontent.com/acefei/ace-profile/master/installer/install.sh | tr -d '\r' | bash
  2. Using the pipe would install everythings in the stage2, if you want to select some of them, it'd better run it by two steps. wget https://raw.githubusercontent.com/acefei/ace-profile/master/installer/install.sh && bash install.sh
  3. You need to modify $HOME/.gitconfig for github user info

Windows

Press Win + x and press a, then run following cmd.

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/acefei/ace-profile/master/installer/setup-win.ps1'))

Further installation

python 3.12

pyenv install 3.12
pyenv global 3.12

nodejs lts

nvm install --lts

Extensions

    CTRL-T - Paste the selected files and directories onto the command line
        Set FZF_CTRL_T_COMMAND to override the default command
        Set FZF_CTRL_T_OPTS to pass additional options
    CTRL-R - Paste the selected command from history onto the command line
        Sort is disabled by default to respect chronological ordering
        Press CTRL-R again to toggle sort
        Set FZF_CTRL_R_OPTS to pass additional options
    ALT-C - cd into the selected directory
        Set FZF_ALT_C_COMMAND to override the default command
        Set FZF_ALT_C_OPTS to pass additional options

Reference