Skip to content

Commit

Permalink
Modify alias ackj
Browse files Browse the repository at this point in the history
  • Loading branch information
wizawu committed Apr 26, 2024
1 parent c6f33a0 commit cefaf13
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/x
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [[ "$1" = "-r" ]]; then
xinput set-prop 'pointer:MOSART Semi. 2.4G Keyboard Mouse' 'libinput Accel Profile Enabled' 0 1
xinput set-prop 'pointer:MOSART Semi. 2.4G Keyboard Mouse' 'libinput Accel Speed' 0.1
xinput set-prop 'pointer:Razer Razer Viper 8KHz' 'libinput Accel Profile Enabled' 0 1
xinput set-prop 'pointer:Razer Razer Viper 8KHz' 'libinput Accel Speed' -0.5
xinput set-prop 'pointer:Razer Razer Viper 8KHz' 'libinput Accel Speed' 0.5
hsetroot -full /usr/share/awesome/themes/default/background.png -clear
exit
fi
Expand Down
2 changes: 1 addition & 1 deletion dotfiles/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ source /usr/share/bash-completion/completions/git

# alias
alias 2fa='node -e "console.log(require(\"otplib\").authenticator.generate(process.argv[1]))"'
alias ackj='ack --type kotlin --type java'
alias ackj='ack --type kotlin --type java --type groovy'
alias ackng='ack --nogroup'
alias apt='sudo apt'
alias apthi='bash -c "sudo apt -o Acquire::http::Proxy=http://\$0 install \$1"'
Expand Down
3 changes: 3 additions & 0 deletions install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
- zh_CN.GBK
- zh_CN.UTF-8

- name: hold libc6
command: apt-mark hold libc6

- name: create symbolic link to apt sources.list
file:
src: /home/{{user}}/.sysconf/etc/apt/sources.list.d
Expand Down

0 comments on commit cefaf13

Please sign in to comment.